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.
I using visual studio 2005 and SQl server 2005, and every thing run will. when i installed Visual studio 2008 and make code for connection to sqlserver 2005 an error box raise shows this error:
system.data.sqlclient.sqlexception login failed for user 'DomainName\User' ... .
Any body have an idea to solve this problem. thanks in advanced
What is the connection string.
the username and password which are given in the connection string is wrong..!
This is a basic error.
type the user name and password in the sql server management studio..!
try this link for connection strings..! http://www.connectionstrings.com/[^]
Why Do Some People Forget To Mark as Answer .If It Helps.
I told you same code exactly was written in visual studio 2005 , and successfully make a connection. there is no error in my connection string. by the way, the security type is integrated security=true. and what you told me about username and password it is true, i mean it doesn't work in sql server management studio. so any idea.