Web Forms :: Hiding Page Name In Browser Window?
Mar 14, 2011i have to hide name of my page in browser window ..
View 7 Repliesi have to hide name of my page in browser window ..
View 7 RepliesIm calling the new popup window from gridview like
[Code]....
In the AddTargetPopUP.aspx ,I have button Call "ADD".When i click the add button it'll insert datas into database.I want to reload the parent gridview after insert into the database and want to close the popup.
I used javascript code to open popup window.Popup window "Maximize" button is inĀ
disable state.But in Chrome it is in enable state.I want to make browser maximize button disable.
Below is my javascript code
function Call_PopUp(event, URL) {
window.open(URL, 'CustomPopUp', 'width=990, height=540, menubar=no,scrollbars =yes, resizable=no, top=50,left=50,toolbar=no,dialog=yes,minimizable=yes,maximizable=no');
}
How can I open a new browser tab in ASP.NET and write to it? I don't want to redirect to a page but I want to write/output the content directly from source.
View 2 RepliesI want to add a button to my user control in SilverLight 4.0 application which will open a new browser window with an aspx in it when it is clicked.
Additionaly, can I lock the SL application until this new window is closed (Alike a modal dialog)?
I have one asp.net application, in which i am using some popup windows to open some pages. For this, i am using a method like this
private void OpenWindow(string Url, string height, string Width)
{
try
{
string strScript = "";[code]....
Now its working as fine with showing the address bar. But my requirement is that i have to hide the address bar in all of my popup window.
I using VS2008 and C# for an ASP.NET web application. From within C# code, how to use the "Window.Open" method to create a new browser window? I know it can be done in ASP script code using Javascript but I would like to create new window from C# as desired.
View 11 RepliesIs it possible to Open a new browser tab/window using c#. I have query string info I don't want to put in a hidden field due to it showing on the client side. I do save the data in ViewState and encrypt the viewstate; however, I don't know how to access that information on client side.
I can access the viewstate data fine on Server Side but I need to open the new browser window on server side in order to access the ViewState. I may be wrong. Is there a trick to this?
I did find a way; however, on any other click after the initial click everything goes to a new window:
Control:
[code]....
How do you write C# code to open up a New Browser window with for example [URL]
View 4 Repliesi am writing an application, and i have a link on a page that opens its url in a new browser window. on this new window, i have an asp.net gridview with radio button on each row and each row has a staff_id, and staff_name column, and the gridview has datakeys as staff_id, staff_name.
my question is that i want to be able to select a row (using the radio button) and when user clicks a button on the new window, and i want to populate two textboxes on the parent window with the staff_id and staff_name values from the selected row(in the popup window), and if possible close the popup window.
My problem is am filling a form in a webpage, and click on save for instance, take the URL of mu webpage and paste it in a new window and it loads all the information I subscribed, how can I prevent that knowing that I used the Below code and it does nothing
I need to know how to add a randomly generated token as an additional parameter in my request.
[Code]....
[Code]....
I have developed an application using IE8. I set my pages up using tables. I have not developed the css skills to be able to use only css. I realize that is the best way. When I change to browser IE7, all of my tables extend beyond the browser window. Does anyone have an advice?? I have set a fixed width and all elements seem like they should fit within the browser.
View 6 RepliesI have a variable, which contains a whole web page. Is there a way to open a new browser window and set the contents of this variable as the page? I don't mind if it's javascript, but it has to be able to hold a bit of data if this is the case.
View 6 RepliesHow can you get the width of the browzer window with Internet Explorer 9. Old methods don't appear to work!
View 2 RepliesIf Someone has logged in to website and directly closes the window without clicking signout button where i have written a code to clear all session.
So in this case how i clear a session when user closes window directly?
At run time when I resize the Browser Window my controls move. Means when Browsers windo is full i.e Maximized the the look proper but when i resize the browser window the move within page and look all dismissed, And how to prevent it .
View 1 RepliesI 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.
I have a project where we need to launch a browser window from a desktop application and provide the newly opened page with XML data for it to process before the page fully renders itself.
Sub WinAppButton_Click
'Generate xml data
'Open url in browser and post xml to the page without any visible http request arguments showing.
End sub
Handling the xml data from the page_load is easy enough. Getting the initialization data to the page is the problem.
I know this is probably a pretty normal pattern, but, I've never had to code it up. I'm using a GridView to display various items from a SQL query. I can do this without any problems. Upon selecting a specific item, I want to open a new page based on the selected row item link that passes some parameters to a SQLDataSource in the newly spawned window. I know I can use the javascript window.open function() to create a new window, but, I don't know how to pass the desired code to this new window.
View 1 RepliesI 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?
[Code]....
I can't use RegisterStartupScript('window.open...), because Chrome blocks the popup without even informing the userI can't use "onclientclick=window.open(..." in the markup, because I have to invoke code in the button click event handler before opening the popup window.I can't expect every user of the website to add the site as an exception in Google Chrome's popup blocker, since they'll assume it's an error on the website and not with the popup blocker
View 5 RepliesWe have a page that is opened in the child window using window.open. Now the user will copy the child's window Url and copy-paste it in the browser. We need to restrict this scenario. How should we do this. I mean I need to know in my page load method whether the request has come from window.open or whether the user copy-pasted the Url on the Browser's Address bar.
View 7 RepliesI'm exporting the GridView to Excel. It works fine and I receive a prompt to Save/Open/Cancel the file although I need the file to be saved automatically in the provided (passed to the Export function) location and opened in the same browser window where the Gridview was.
View 2 RepliesBelow is the page and file is in local drive.
<asp:GridView runat="server" ID="gvDetails" AutoGenerateColumns="false">
<Columns>
<asp:BoundField DataField="Id" HeaderText="Id" />
[Code].....
How to call the server side method on browser window close button...
View 1 Replies