As i am new to coding, what i was doin is i want to open a pop up window on button click in my default.aspx page.
and when the child window opens, it contains the grid view where we can select the relevant information and we hav to send this to the parent window
everything is working fine,but when we send the values to the parent page, all the text boxes and controls in the parent page are getting refreshed. and its being a problem, that the user has to re enter the data.
I am using VS 2005.An 1.aspx page is there, retrieving data from an xml file and having a button.On a button click same 1.aspx page should open new window retrieving data from another xml file with the help of query string.
I have an application where I would like to display a report (using Report Viewer on a .aspx page) in a new window so the user can simply close the report page when finished viewing and have the source page still active.
since "Report viewer" is on .aspx page so I want to open report on next browser window.
i have an link button in my gridview once user click that link button i need to open an a word document(the path where the document is stored in server would be like this c:/abc/doc/abc1.doc) so now i should all ow the user to download that document for viewing it.
I have a parent window from which i open a modal dialog on button click. In WinXP with IE8 it works just fine, but in Win7 with IE8, upon opening the modal dialog it brings me to the login screen. If i enter my credentials, close the dialog and open it again, it works.
I don't want to store the credentials in a cookie and then read it in my modal because it's a security no-no. Is there an explanation why this is happening in Win7 and not in XP and is there a resolution for this issue?
I have Web page that uses LinkButton control inside Template Fields of Gridview.I am trying to work on LinkButton Click event and trying to preserve the Value of LinkButton that user click, and based on that value, i want to refresh tha page data.
I used CommandName and CommandArgument property of Linkbutton, but i can use that property only in GridView_RowCommand method by checking e.CommandName expression. But the problem with that Gridview_RowCommand event fire after all other page_load activity. So the value never used in the page_load event to refresh the data in all other control.I also tried to use OnClick Method, Session variable and Hidden variable. but when i run Response.Redirect method from Gridview_RowCommand, it clear all the Session and Hidden variable values. also tried (Response.Redirect(,false)) method but never got success.
I have a link button in my gridview. It is populating correctly; however, being I am populating the values in the gridview using "Eval()" method I don't know how to get the value of the selected Link Button (which is only selected by a user actually clicking the Link Button).
The user can click on the text directly (instead of showing the "Select" auto created). I want to be able to capture the item they have clicked on's Text property.
Value1 Value2 Value3
When the click on "Value2" I want the text property to be stored in a string variable (In this case the text would be "Value2"). In the past I have captured this through GridView.SelectedValue; however, I am not using autopopulate selected button so I need to do this manually and I am unsure as to how I will do this.
Here is my code for HTML and I have not created any code for C# (I want to capture the item using C# in my Grd_Tables_SelectedIndexChanged Event) [code]....
1. I need to load a user control on link click event of a link button during postback of aspx page.
2. On button click event of a save button on that aspx page, I need to read the selected values from that user control on further postback.
If I write the loadcontrol code in link_click event, the control is not recognized at all in the button_click event. When I shift it to page_init and execute only during not postback, the user control loads with default values.