I am trying to Response.Redirect to another web application but ASP.NET keeps corrupting the URL. Example, if i am at "http://localhost/application1/main.aspx" and i do redirect to "http://localhost/application2/default.aspx" the redirected url will become "http://localhost/http://localhost/application2/default.aspx". It is as if ASP.NET is guessing that i am redirecting using partial URL, but i am not. How does one fix this?
Just to be clear you are talking about a Windows app loading a portion of a webpage correct? If so then you would need to get the portion of HTML you need and insert it into the WebBrowser control, you can't request a portion of a web page unless it is available from the content provider as such.
Please check whether you have created ServiceMethod named GetSlides properly. Moreover, pls check for other controls have created the same id as you have defined in properties: lblDesc, btnNext, btnPrev for their corresponding controls.
If you are still getting problem, you can download the Ajax Control Toolkit Sample Application and see the code sample how it is working.
Do other controls of the sample code are working on your system? if not, then, you may try re-installing Ajax Toolkit.
If yes, Try to debug the code and find out what error it is throwing/ where it got struck.
You need to see the difference between Windows and Web application.
Based on your requirement, you cannot use the windows message box as its client based. (the way it works in windows applications!)
you need to develop a server custom control for it if you really need something similar.
Better would be divide your codebase in such a fashion that you can use client side Windows confirm messagebox and based on the option selected execute code accordingly.
I inserted images successfully in MS-access database using Fileupload server control, but i m unable to retrieve all images from database in datalist control which contain image and hyperlink server control in ItemTemplte and i used this select query.
"Select picture, name from gallery "
and i don't wana parametrized query, bcoz i wana show all images.
Last Visit: 31-Dec-99 18:00 Last Update: 10-May-21 18:49