So I am using a simple GridView control to display a table containing Sender_ID, Subject(hyperlink), date . When the user clicks on the subject hyperlink, another page with the Body should open. This page should also contain a Back button for navigation.
I have the following hyperlink code that opens a new browser window to display a page. The page (browser) opens not full size (maybe something like 500x500). How can I modify this code to make the new browser window open full-size?
I have a webpage that allows a user to download a specified file. When the file is ready to be fully downloaded (i.e I call the HttpResponse.End or HTTPRepone.Flush) the user is presented with a File Download dialogue.
Is there any way to determine what option the user has selected?
Have they Opened, Saved or Cancelled the File Download once the Flush or End has been sent?
what i need is i need to show this url has like this
www.xxxxxx.com/A/Default.aspx is like Test1 www.xxxxxx.com/B/Default.aspx is like Test2 www.zzzzz.com/C/Default.aspx is like Test3 if user click Test1 it will open a new browser window with www.xxxxxx.com/A/Default.aspx if user click Test3 it will open a new browser window with www.zzzzz.com/C/Default.aspx
I've been searching in all the forums, and websites for the last 4 hours without finding a solution for a problem that in the beginning I tought it was an easy one!!!This is my problem, I have a gridview with the following colums: select (link), Room Type (for hotels), and TotalThe total field Is a template field it has in the custom binding property a function: find_total(Eval("Room")) this function makes some calculation and returns the calculated Total value, and shows in the gridview without problems,The thing I cant do is: when the user clicks on the select link I want to get the text of the template field and put in a label control.
I tried, almost all the events of the datagrid, to reference the content of my template field but sometimes I receive a null value (seems that Im looking for the value before the find_total function has been executed) or I get an error "the index is out of range".I dont know how to approach this, I tought It has to be much easier, but Im very confused right now, if anybody knows how to do this
I'm trying to get my treeview control to work where a user clicks on a parent node. The node will expand.Then, the user clicks on another parent node and that node expands while the previous parent node stays expanded. My problem is that when I expand one parent node, another expanded parent node collapses.What am I doing wrong?
i have an aspx page in which a link in the grid view opens a popup page . the data in the grid view would be dynamic and i need to send the id of the row of grid while calling the child window. i get the id using sender.id, but how would i send this using window .open()?
I have a login page that is loaded in popup window (colorbox) and after user logs in it should be closed and parent window should be loaded with new page.
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Do While reader.Read() If Trim(reader("ZAP").ToString()) = Trim(textBoxZap.Text) Then Session("A") = "1" Response.Redirect("~/default.aspx") Else lblErr.Text = "incorect" End If Loop
So once the buton is clicked and user name and password is corect popup window should be closed and user redirected to default aspx.
How to pass user credential from ASP.Net application to open Report Manager in a new window. When I'm searching in the net, basic authentication was the solution I found. But don't know to pass credential through code
I am trying to open a popup window from main window using window.open() method. How to get back the value from the called popup window to the calling window in vb.net, basically i need to get back the value and populate in the text box available in the main window.
I have an asp.net page that contains an Iframe embedded with some data and a ImageButton. On ImageButton click event (server side) I have Response.Redirct:
This always open the results.aspx in iframe. I want that results.aspx should always open in the parent window. I tried the following till now but none worked: