I have an input form on a page along with gridview and combo box. a user first select a filter combo box then click on search, to see a return values in a grid view format. then a user can enter new row once he / she cick add, i want the page to reload and the new inserted value to show in the gridview.
I add cascading drop down in a place holder during page load. When i submit the entire form, i found out that my drop down list is reload and my selected value is not selected.
When I create a new record by submitting an .aspx page the new record is not showing up. I have to navigate away from the page and back to it for the new data to show.
I want to reload the page when the user clicks on the back button, from a particular page.Say for example there are three pages:
Page1.aspx,Page2.aspx,Page3.aspx
I want when user move from Page2 to Page3. When he clicks on "Back" button on browser page shld load I have tried adding a onload function JS in Page2 it works out. The issue is identifying user is coming from Page3.
I notice on some sites i can login wrong which brings me to a login page. log in incorrectly again which brings me to a wrong password page (where i can log in) and if i login wrong again i dont increase my page history count. It takes exactly 2 backs no matter how many times i get it wrong and i dont see any pages in my forward history
I have four textbox and a button in my page. After filling the textbox. When the user click save button. A loading image should be displayed. User should not feel that the page is postback to the server,Some thing like in facebook loading image.
I have a gridview control where clicking on a specific row saves an ID number to session("ReportID") and then brings up a popup window. The popup window checks session("ReportID") on load and then displays the correct report information. This setup seems to work fine in Firefox and Safari, but for some reason IE is not refreshing the popup window. I'm trying to figure out a way to force IE to refresh/reload the popup window like it does in firefox/safari. If the popup is not refreshed then it won't update the information on page_load. Code below:
[Code]....
I thought that window.open should automaticly reload the page in the called popup window as this is what FF and safari seems to do, but maybe not. I think that the javascript .reload() may force IE to refresh the popup, but I don't know what the correct syntax would be.
Being new to ASP.NET I have run into trouble building my own Whack-a-mole program. I think my problem comes from using Buttons, which by themselves send post backs to the server, making the software unusable. The looks are in place, making new buttons show up in the grid, in different places by random. However, when a button is pushed - the score doesn't change (which I feel is strange).
Not so strange is that the Button doesn't work since it sends post back to the server - reloading the UpdatePanel. I think I should use a different controller like the CheckBox and style it hard using CSS (which isn't a problem). Is this the correct way to go, or should I make use of JavaScript AJAX instead?
Note to self: This technique shouldn't be used in a public application since it put too much unwanted pressure on the web server.
I've been playing around with a .NET ActiveX control in a web page as a possible solution to a particular situation. I set up a .NET user control project, added some UI controls, and eventually got the DLL to load in Internet Explorer and run. However, I've run into two problems.
1) I've tested it on two Win XP PC's, one with IE7 and the other with IE8. Everything works fine in IE8, but I get various permissions errors in IE7. Both machines have the same security settings in IE (it's in the trusted site zone, all ActiveX relating settings are the same, etc.). Does IE7 somehow interact with .NET differently then IE8? So far I've only been able to test it on the two machines.
2) Is there any way to force IE to reload the .dll from the server? I've tried everything I know (F5, Ctrl-F5, Ctrl-Refresh Button, Alt-D Enter, etc.), but it seems like IE randomly loads different versions of the .dll. Closing IE and restarting usually gets it to load the latest version, but that's not very convenient when making mods and testing them.
I have a page that I am adding user controls to the bottom of the controls each postback. The User Control has a textbox in it and the focus needs to be on this newly created control textbox each time. It all works almost perfectly however when there are too many controls to fit on the page, because I set the focus to the textbox the bottom of the page is set to the textbox that has focus not the very bottom of the page. I have a submit button below this which ends up below the page limit. How can I set focus to a textbox but still scroll to the every bottom of the page to show the submit button.
I have run into the problem where my css files are being cached in browsers. This is a fairly common problem, and a common solution is to simple add a version number in the url to the css file. Example: MyCSS.css?ver=1.12
However, I'm using a custom skin for DotNetNuke which forces the usage of the file: skin.css
I don't have a way to point browsers to skin.css?ver=1.12 (or at least I'm not aware of a way)
Are there any tricks I can play with IIS, DNN, or ASP.NET (default.aspx file for DNN perhaps?) to force clients to reload CSS?
What is the best practice to force the postback Data and ViewState data to be re-loaded on the code behind?
The reason I ask this is, i have one gridview which is generated dynamically and I when it is structure is generated the postback data is already loaded and I want to forse asp.net to reload the postback data once I have my gridView structure is generated.
I am writting an application that displays 3 visable text boxes and 1 hidden text box and one hidden button.
My application sets focus to the hidden text box.
The input comes from a barcode scanning gun which gives the "enter" command after the scan is complete...this essentially clicks the hidden submit button which moves the text from the hidden text box to the currently active visable text box.
To start the application does some verification on what was scanned then gives the user feedback on what was scanned then enters it into SQL.
My problem comes with the last scan...the page does not actually post back to give the user the neccessary confirmation before commiting the info to SQL and resetting the form.
Is there a way to either do somethig after the page has been rendered or do an additional post back somehow before calling the commit and reset functions?
I've seen "What is an elegant way to force browsers to reload cached CSS/JS files?" but the answer there uses PHP and it doesn't address the fact that the CSS is injected dynamically by an ASP.Net Theme.
I use submit button to post to database which successfully show in gridview but i also want to use thesame button to show a post back as confirmatory page that you have successfully submited a post please, how can i go about the code to perform these function, i use property section of the submit button to do a post back to confirmatory page , the page show but message fail to show in grid view. a simple example of what i was trying to do is this, when u write a post in this forum now , u press a button to submit a post and a confrirmatory message is send to u. what is actually performing the two functions.
I am using ASP.NET 2.0 with C#(No AJAX) in my project. In a particular web page, when the a button is clicked, some server intensive C# code runs before the same page is displayed again with the results. While code execution happens on the server in response to Button_Click event, a blank white page is shown to user on his browser in between post backs. How do i show a message in this case, that the processing is still going on and ask the user to wait? I have used javascript to show a message on page unload. But this message is also erased when the page is posted back to the server and the user sees a blank white page on his browser. How do i avoid this white page? Is there a way to show a message in the blank white page? How do i show a processing Message while the page is loading upon on Post Backs to the same Page.
I am currently a beginner in asp.net i am currently watching msdn videos of "beginners developers learning" i am on the topic of application state so i got confused on a topic of "cross page postback" can anybody explain what that is
and another thing is "profile" object we use it in web.config file
asp.net with vb. I thought this would be easy but have been reading for an hour and not found out how to simply repost a page where form data has been entered and return the page with some error messages about what was entered. I want to return the page with all input controls with the data just as the user entered them before submitting. the error messages are labels that were blank when the page is first loaded. preferably the page returns focused to the topmost error error message. if that can't be done I would populate some label at the top of the page with something to the effect that 'errors were found, scroll down to see the errors'
The problem is that for any other TextBox on the page which is using this MasterPage, for example the login page, if you type your user name and password and hit Enter, The page is redirected to the SearchPage. If you click on login buttton everything works fine. How do I make sure hitting enter on the page in any other text box does not post back to SearchPage.aspx?
I have a very odd and disconcerning problem. Just recently a page where I have 1 textbox and a buttoon has ceased to work.
When I look at the post coming into the PageLoad, the pageType is "POST", but the Page.IsPostBack is false!! and the textbox (which had content) is empty.
I have stripped all AJAX script out, so I have a very vanilla page (in a master page) being served.
The pages is
[Code].... [Code]....
The page is "POST", but isPostback is false[Code]....