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.
We have a scenario to get the screenshot and export it to PDF. I would like to know the process to take the screenshot/Thumbnail of the asp.net image. I found some third party dlls, but Forms Authentication causes the issue with them. With the third party dlls, if we give any url directly to the dll, its getting the thumbnail of the login page as it will be redirected to login.
We will have multiple pages in our Asp.Net web application. On every page we have export button. When the export button is clicked, the screenshot/thumbnail of the current page should be taken and save as image.
Can anybody shed some light on this scenario and let me know if the solution found.