Advertisement

08.19.2008 at 05:40AM PDT, ID: 23659290
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.3

Reflection on parent window on the basis of pop up window

Asked by 123456789y in Programming for ASP.NET

Hi,
I am working in asp.net
I have a page called accopunt.aspx which includes a dropdown control which contain designation and it binded to the database.
If the required designation is not available on dropdown the user can click on icon called add new designation. after he click a new pop up window appears name designa0tion.aspx and user can save new designation and click on close
After the user click on close, i need is the new designation that is added should be visible to account.aspx page on dropdown control.

In designation.aspx page on close i am inserting the following code to the sorce code:
 <a href="accounts.aspx" onclick="window.close();">close</a>

and on accounts.aspx

page_load
conn = New SqlConnection(CONN_OBJ.STR_CONN)
        conn.Open()

           
            enable_controls(False) : clear_all()

            '--Code To Bind Designation
            drpdesignation.Items.Clear()
            STR_QUERY = "SELECT [desig_id], [designation] FROM [tbl_designation]"
            myadapter = New SqlDataAdapter(STR_QUERY, conn)
            myds = New DataSet
            myadapter.Fill(myds)
            With drpdesignation
                .DataTextField = myds.Tables(0).Columns(1).ToString
                .DataValueField = myds.Tables(0).Columns(0).ToString
                .DataSource = myds
                .DataBind()
            End With

            ImageButton2.Attributes.Add("onClick", "javascript:var win = window.open('designation.aspx?parameter','mywindow','menubar=1,width=480,height=120,toolbar=no,menubar=no,location=no');return false;")
end sub

Even i have tried included
if not page.ispostback    but even this does not work

Kindly suggest
Thank you
Start Free Trial
[+][-]08.20.2008 at 06:32PM PDT, ID: 22275512

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.20.2008 at 10:22PM PDT, ID: 22276423

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.20.2008 at 11:25PM PDT, ID: 22276707

View this solution now by starting your 14-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Programming for ASP.NET
Sign Up Now!
Solution Provided By: steveberzins
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20081112-EE-VQP-43 / EE_QW_2_20070628