|
please give me suitable example which helps me iam getting many errors
|
|
|
|
|
Hello ;
Can any one give me an idea about how to show the content of gzip file in browser.
Thanks
Snehasish
|
|
|
|
|
Hi,
Few days back I have posted a similar doubt against data synchronization.
I have a web application developed with VS 2008 and sql express. The same copy of the database is on a web server. I have to synchronize the local database with the server database. Can I use Microsoft Sync frame work for this purpose.
Please send me a reply.
|
|
|
|
|
Hi Guys
I have a list of items that span the width of their parent div, and they have left and right aligned text.
I have put this list into it's own div which CSS is set to overflow:auto.
This works great apart from one minor detail... When the scroll bars appear, the vertiacal one hides the right most text.
Is there a way to combat this? I don't want to change the width as the page is going to be viewable accross many resolutions, and the list items line up nicely with other parts of the page.
Thanks
oooo, the Jedi's will feel this one....
|
|
|
|
|
Can't you simply reduce the width of the list box to leave space on the right to accommodate the vertical scroll??
|
|
|
|
|
Thanks for you reply,
The thing is, I don't want to fix the width or the list box so that it looks pretty much the same accross different resolutions. I did try messing about with the width as a percentage, but that makes it look funny when the browser isn't full screen...
Do you know of a way without fixing the width? I could do that, but only as a last resort.
Cheers,
oooo, the Jedi's will feel this one....
|
|
|
|
|
I'm not able to think of any other way to do it.
|
|
|
|
|
Thanks anyway...
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.
Thank you for you time.
oooo, the Jedi's will feel this one....
|
|
|
|
|
You were able to do it with padding? I tried with padding and margins before my previous reply, but was not able to achieve it.
|
|
|
|
|
Yip...
The right aligned items were already in their own div with their own CSS class, so I stuck padding-right:20px; into the class, and it appears to be working nicely.
Like I said though, this does mean that when the scroll bars are hidden, the right aligned text looks quite a distance from the edge, but I feel thats a small price to pay.
oooo, the Jedi's will feel this one....
|
|
|
|
|
The below error is coming when I load my .net page
Could not load file or assembly 'Microsoft.ReportViewer.WinForms' or one of its dependencies. Access is denied
We've removed the assembly reference for ReportViewer from web.config file.
We've checked there is no files in the name of "Microsoft.ReportViewer.XXXX.dll" in that my web server.
If anybody have an idea to solve this issue, pls share with us..
Thanks & Regards,
Rishi
WinCrs
|
|
|
|
|
Apperrently your application DOES require the dll, and since you did not provide it, the exception occurs.
|
|
|
|
|
Can u give the list of dll files for "Report Viewer"?. Is it available for download?..
Rishi
WinCrs
|
|
|
|
|
Add the one u removed because it requires that dll...
Regards,
Tash
|
|
|
|
|
WinCrs wrote: 'Microsoft.ReportViewer.WinForms'
is for windows applications. For web apps: 'Microsoft.ReportViewer.WebForms'
|
|
|
|
|
You should be using WebForms not WinForms for an asp.net web app.
<edit>didn't mean to post twice - connection error on my end
|
|
|
|
|
Hi friends,
i am fine and hope u so...
I am having commom.js file which contains all the validations.... i like to call one of the function from ascx page while i am clicking the button in ascx page....for validation....
i have tried with Page.RegisterClientScriptBlock,but i couldn;t..can anyone explain the way to do it??
thanks in advance...
sarala.s
|
|
|
|
|
When you add a user control to a aspx page the client id of the normal ASP.NET controls that you have used in the user control are different from the normal ones. Your javascript function need to find the control by its new control name and then validate it.
You can do it by either passing the control's client id to the javascript when you register the javascript call, or view the source to get the client id and then hard code it in the javascript function.
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...
Thanx in advance...
Tash
|
|
|
|
|
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.
But still if you want to implement this using a webapplication then you can run a background thread to do this synchronization and refresh your page let say every 30 seconds using javascript to check the progress, once the synchronization is done you can stop the refresh and show your message to the user.
WWW, WCF, WWF, WPF, WFC .... WTF
modified on Tuesday, March 30, 2010 2:01 AM
|
|
|
|
|
Thanx for ur reply.. Do u have any samples or tutorials.. mean while i will try google...
Thanx in advance...
Tash
|
|
|
|
|
|
Looks like a request timeout issue... Read this of how to increase it in Web.Config:
httpRuntime Element (ASP.NET Settings Schema)[^]
Though since you say, the syncronization finishes in the background... just want to confirm that is that another thread/process in the background that continues?
|
|
|
|
|
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.
|
|
|
|