In a page, i should have a textbox and a button. On writing a link and clicking that button , that link page should be displayed in the same asp.net below my textbox. how to do this?... am not able to find any webbrowser tool in toolbox.
I have a dynamic gridview which adds row when the button is click. But I am getting an error in the browser. I managed to run this and get it working but after couple of days working, there's a wierd error occur when I click the add row button.
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation
am creating a web application in using c# with asp.net.
in that am using login page only as normal aspx page. other pages are using masterpage.
when i click logout button in masterpage. page will redirect to login page. after that if i click browser back button it was moving to previous page. how can i prevent this.
am using this following code in master page aspx page. And My log out button code is below.
I am using the original masterpage template in VS2010 to have a consitency with all my web pages for my site. However, i noticed that the web page does not fill the browser completely, it is much smaller. How can I adjust the size of the web page so that is fills the browser completely?
I have looked at all the options in properties but had no luck so far!
I have a page with features supplied from both a master page and a child master page.In the content placeholder for the head in both master pages I have supplied the link to the stylesheet for the site.In Design View in VS 2008 the CSS code seems to be functioning correctly.When viewing in a browser the CSS does not appear to be applied at all.
Here is the CSS code for the div elements within the main content placeholder:
In parent page there is an imagebutton. What I want to when user click this image button, another page will open with width=200 and height=100 with no toolbar.
I need to add Meta tags, description and keywords in aspx page. My aspx pages are in master page and I have already added meta tags and description in my Master Page.
Now I want add in my other pages also so if someone search my site on GOOGLE it should look like same as this:
<asp:Content ID="TitleContent1" ContentPlaceHolderID="PageTitlePlaceHolder" runat="Server"> My Page </asp:Content>
This works by placing the content page specific title on the page ("My Page" in this example). Now I want to add a global prefix to the title in my master page for the site name. So I want:
have looked around for an answer to this but not quite found what I need.
The main (home) page of my web app has a field on it indicating the last time an SSIS package was run. This is done under the page load event and the code reads a sql server table to pull of the date and time.
The problem is, if the date and time is updated and I then close teh web browser and re-open it and displays the main (home) page, the time displayed has not been updated. I have to either hit F5 or clear the temp internet files using the options under IE.
I found some code which refreshes the page automatically once every 5 seconds or at set intervals but this is not what I want to do. I just the page to be refreshed upon loading it.
I have a sms portal website(http://www.fddit.ir) and my user Login to site and i don't use Special client script(this page source is very simple) but in some browser(my means isn't version because in same version in two computer has this porblem)when user type username and password page has't react only postback.
From pageA, clicking a button to open pageB which display a crystal report. User can only use browser back button. How to open pageC from pageB? Can I add code in pageB close (if there is a page close event) or make back button in browser to open pageC instead of pageA?
I just need to set a focus on the texbox in the Page_Load event.
There are many ways to do this - from the simple textbox.focus() to HTML and Javascript. But none of these methods really works, because when the page loads the focus is always set to the browser address bar.
any page that I open in my browser comes up blank.
I don't get any errors, it just comes up blank.
I also noticed that it seems to bypass forms authentication. For example, even though the page I open is blank, it is the actual page name that shows up in the browzer instead of the page that it usually redirects to for the forms authentication.
i want to redirect from one web page to another web page in same server with some query string values, but i don't want to change my URL string and i don't want to display any query string parameters in URL.
how can i restrict user to perform 'rules violating actions' like performing back button operation after logging in?
when a user logs in then unless that user presses logout button, it should not see login page again. if user presses back button after login then its current page should be reloaded.
if users press the browser's back button to reach the prior page..then page should display a message like "web page expired" in asp.net can i use javascript for this?
for example..
there are 4 pages in web sites. 1,2 and 3 can be back. but when the 4th page run then 4th page can not be back... when the user press browser's back button , diaplay ma message "weg page expired".
I am looking for some advice on how to accomplish something. What I have is a gridview on a page that I want on another page. I would like to show this gridview in a modalpopup.The problem is that the gridview is on a page that is not open and is not likely to be the previous page. I have simply put an iframe inside the modalpopup and loaded the page containing the gridview, however this page is a child page and I get a lot of content from the master page that I do not want. All I want from the page is the gridview.The two options I am considering are putting the gridview in the master page or copying the gridview, and all its events code, to the page that calls the modalpopup.Is there a better way to do this? Or should I just put the gridview in the master page. Can I load a control from a page that isn't open?