Click here to Skip to main content
16,021,687 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ASP PageMethod not working :-/ Pin
Matt Cavanagh26-Jan-10 13:43
Matt Cavanagh26-Jan-10 13:43 
QuestionIssue with web.config and Sql Server 2005. Pin
twoguy25-Jan-10 20:52
twoguy25-Jan-10 20:52 
QuestionAjax Calender extender problem Pin
Hema Bairavan25-Jan-10 19:27
Hema Bairavan25-Jan-10 19:27 
QuestionASP.NET Membership issue Pin
April Unni25-Jan-10 11:07
April Unni25-Jan-10 11:07 
AnswerRe: ASP.NET Membership issue Pin
Not Active25-Jan-10 11:36
mentorNot Active25-Jan-10 11:36 
QuestionCannot open Server Explorer Pin
dptalt25-Jan-10 8:41
dptalt25-Jan-10 8:41 
Questioncss problem Pin
Spurple25-Jan-10 7:23
Spurple25-Jan-10 7:23 
QuestionAjax Popup problem Pin
Hema Bairavan25-Jan-10 7:04
Hema Bairavan25-Jan-10 7:04 
Hi Peoples,

I am using ajax pop up extender,

Here my code is

<asp:Panel ID="ProgrPanel" runat="server">
<asp:Image runat="server" ID="Progress" ImageUrl="Themes/Images/cross.png" />
<asp:Button ID="Hide1" runat="server" Style="display: none" />
</asp:Panel>
<asp:Button ID="Button1" runat="Server" Style="display: none" />
<AJAX:ModalPopupExtender BackgroundCssClass="modalBackground"
TargetControlID="Button1" runat="server"
PopupControlID="ProgrPanel" X="525" Y="50" ID="ProgressBar">
</AJAX:ModalPopupExtender>

and on a button click i am trying to show and after some process i need to hide(like progress bar)

ProgressBar.Show();
--my popup comes perfectly
/*My logic goes here*/
ProgressBar.Hide(); (in this step throwing error)



i am getting this error,

The control 'Button1' already has a data item registered.
Parameter name: control


i googled and found that the target id should have any events attached, but here its just a button..


what may be the reason??


help me please..
AnswerMessage Removed Pin
25-Jan-10 18:50
professionalBlikkies25-Jan-10 18:50 
GeneralRe: Ajax Popup problem Pin
Hema Bairavan25-Jan-10 19:21
Hema Bairavan25-Jan-10 19:21 
GeneralRe: Ajax Popup problem Pin
Blikkies25-Jan-10 19:34
professionalBlikkies25-Jan-10 19:34 
QuestionImage Stretching Pin
Hema Bairavan25-Jan-10 5:53
Hema Bairavan25-Jan-10 5:53 
AnswerRe: Image Stretching Pin
Not Active25-Jan-10 6:35
mentorNot Active25-Jan-10 6:35 
Questionopen excel file Pin
arkiboys25-Jan-10 5:11
arkiboys25-Jan-10 5:11 
AnswerRe: open excel file Pin
David Mujica25-Jan-10 5:43
David Mujica25-Jan-10 5:43 
GeneralRe: open excel file Pin
arkiboys25-Jan-10 5:53
arkiboys25-Jan-10 5:53 
GeneralRe: open excel file Pin
Not Active25-Jan-10 6:09
mentorNot Active25-Jan-10 6:09 
AnswerRe: open excel file Pin
PunkIsNotDead25-Jan-10 6:06
PunkIsNotDead25-Jan-10 6:06 
GeneralRe: open excel file [modified] Pin
Not Active25-Jan-10 6:15
mentorNot Active25-Jan-10 6:15 
AnswerRe: open excel file Pin
Not Active25-Jan-10 6:29
mentorNot Active25-Jan-10 6:29 
GeneralRe: open excel file Pin
arkiboys25-Jan-10 10:19
arkiboys25-Jan-10 10:19 
QuestionNew Web Page Pin
Mark Nibert25-Jan-10 4:13
Mark Nibert25-Jan-10 4:13 
Answerknowledge base Pin
David Mujica25-Jan-10 5:06
David Mujica25-Jan-10 5:06 
GeneralRe: knowledge base Pin
Mark Nibert25-Jan-10 5:11
Mark Nibert25-Jan-10 5:11 
GeneralRe: knowledge base Pin
Not Active25-Jan-10 6:05
mentorNot Active25-Jan-10 6:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.