Just so you know, after much playing around, I have kind of solved the right aligned stuff by applying padding. This does make it look slightly odd when the scroll bars are not visible, but it's working better than the fixed width option.
The first method is better and allows you to use the same validation function across all pages with multiple instances of the user control.
Hi guys.. I have a web application and in one of my aspx page i have a button to synchronise the users(user details) from the Active directory to my database table.. since the active directory has almost 4900 users the synchronisation process takes around 3hours now here comes the issue, on clicking the synchronise button the process goes on fine no issues wit it but the page with the status bar running remains idle only for about an hour or more (with the status bar showing half completed) after which the page shows "This page cannot be displayed" but the process of synchronisation goes on perfectly.. i dont want the page to display this way because after the synchronisation is over i have designed an alert box which displays "Synchronisation done successfully" but this alert box doesnt get displayed because the page is showing "Page cannot be displayed" before the end of Synchronisation process.. but on debugging, the code behind runs perfectly calling all methods and finally calling my alert box also.. but the alert box doesnt get displayed on the page except for "page cannot be displayed"... hope u guys can figure out what i really meant.. i really wanna solve this issue.. please be free to ask me if ur not clear with my question...
Ur help and advice is really appreciated...
If the browser establishes a connection to a web server and the request takes more then the HTTP keep alive time of browser or the web server in that case you will get this error.
Ideally for this type of operation web applications are not preferred; it should be done through a windows service or some other background service.
I meant to say that even if the display shows that "The page cannot be displayed" the process of synchronisation goes on perfectly on the background... The synchronisation takes place by referring to a DLL which does the process...
As already been suggested, such synchronization things should be done using a service or so.
For now, it looks like its response timeout issue issue only. While you debug, probably it continously slides it so you might not get it. Try to increase the response time... but thats not advisable in general. Refer the link i provided you, it would help you.
On googling out i came to know that in web.config file we have to add the following tag:
I set it 5 which means 5 seconds but after 5 seconds the synchronisation process doesnt get time out which means the executiontimeout tag is not responsible for my problem...
Im confused... plz advise...