| Author: pankaj gupta 22 Aug 2009 | Member Level: Silver Points : 1 |
I am getting this error when i am trying to use this in local host. the error is Parser Error Message: Unknown server tag 'asp:ScriptManager'.
Please tell me what to do...
|
| Author: Prakash Alamanda 22 Aug 2009 | Member Level: Gold Points : 1 |
actually remove that <asp:scriptmanager> tag since it was a AJAX enabled website i used Scriptmanager. u need not use it. just remove that ttag
|
| Author: pankaj gupta 22 Aug 2009 | Member Level: Silver Points : 1 |
As you have told that remove this line I have removed and try to run but it is again showing a error: BC30456: 'Button1_Click' is not a member of 'ASP.default_aspx'.
What to do now? Thank You.
|
| Author: Prakash Alamanda 22 Aug 2009 | Member Level: Gold Points : 1 |
You better delete the Onclick="" code and in the deisgn mode double click your button and paste the logic inside the eent. hope it works.
|
| Author: pankaj gupta 22 Aug 2009 | Member Level: Silver Points : 1 |
Sir,now it is working now.but it is not showing the message that your file has been uploaded. In your attachments,it has been mentioned that it will show.
|
| Author: Prakash Alamanda 22 Aug 2009 | Member Level: Gold Points : 1 |
Do u have the Label control as i kept. if so it will work. just check with t namespaces and controls onceagain if not, just attach ur code file il check
Regards
|
| Author: pankaj gupta 22 Aug 2009 | Member Level: Silver Points : 1 |
actually sir , i am new . I am just following your code and trying to understand. I have attached the code . Please check it. Thank you continuously replying me.
WebSite2.rar |
| Author: Prakash Alamanda 22 Aug 2009 | Member Level: Gold Points : 1 |
Friend
In the Default.aspx design page.... in the top give the following code <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
I didnt see the above code in your application
|
| Author: Prakash Alamanda 22 Aug 2009 | Member Level: Gold Points : 0 |
If you still have prob, kindly check with the attached project
Projects.rar |
| Author: pankaj gupta 22 Aug 2009 | Member Level: Silver Points : 1 |
Thank you sir . Now it is working. i am found my error. Actually as i was new so i was deleting the default codes coming when i was creating a website project and replacing it with your code.That's why it was not giving the output. Thank you so much for this long and continuous interaction.
|
| Author: pankaj gupta 22 Aug 2009 | Member Level: Silver Points : 1 |
But sir,this is showing the path of the file it is not uploading the files. But your heading is File Uploading using C#. Why it is so sir?
|
| Author: Prakash Alamanda 22 Aug 2009 | Member Level: Gold Points : 1 |
yeah it will ofcourse upload. You check my previous post. i' ve attached the project. just run it to see the file upload. call me prakash my dear friend
regards
|
| Author: Prakash Alamanda 22 Aug 2009 | Member Level: Gold Points : 1 |
I won be available from now as im leavin. il reply for ur any further queries by monday
Bye Regards Prakash Alamanda
|