Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > control that doen't run in an updatepanel

Reply
Thread Tools

control that doen't run in an updatepanel

 
 
Trapulo
Guest
Posts: n/a
 
      09-30-2007
I'm trying to run a "captcha" web control. Full control source is available
here:
http://www.codeproject.com/aspnet/Ca...1&df=100&fr=76

It doesn't work if I put it in an UpdatePanel (ASP.NET Ajax), but I cannot
understand where is the problem. Basically I've an updatepanel with an asp
panel inside. This panel is not visible when the page is loaded, but
contains the captcha control. After the user select a command from the page
(a linkbutton external to the updatepanel), I make visible the panel. All
this is working: then captcha control is visibile, and I can see the image.
All other form fields and asp.net validators that are in the same panel work
well, but this control cannot be validated.

Any idea?

thanks


 
Reply With Quote
 
 
 
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      10-01-2007
Hi Trapulo,

From your description, you're using a 3rd party validation code control and
found it won't work well within ASP.NET ajax update panel, correct?

As for this particular control, I've also downloaded the source and demo
and tested in my local environment. I found that the auhtor indicate that
you should disable the ViewState (in his sample page, he disabled the
<form>'s viewstate). I've tested the validation control in updatepanel and
with updatepanel's viewstate disabled and seems it can work correctly.
Would this be the cause of the problem you met?

BTW, for make custom control compatible with aspx updatepanel, here is a
forum aritcle maybe helpful:

#HOWTO: Write controls compatible with UpdatePanel without linking to the
ASP.NET AJAX DLL
http://forums.asp.net/p/1040033/1445844.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
>From: "Trapulo" <>
>Subject: control that doen't run in an updatepanel
>Date: Sun, 30 Sep 2007 19:47:50 +0200


>
>I'm trying to run a "captcha" web control. Full control source is

available
>here:
>http://www.codeproject.com/aspnet/Ca...124885&select=

2250821&df=100&fr=76
>
>It doesn't work if I put it in an UpdatePanel (ASP.NET Ajax), but I cannot
>understand where is the problem. Basically I've an updatepanel with an asp
>panel inside. This panel is not visible when the page is loaded, but
>contains the captcha control. After the user select a command from the

page
>(a linkbutton external to the updatepanel), I make visible the panel. All
>this is working: then captcha control is visibile, and I can see the

image.
>All other form fields and asp.net validators that are in the same panel

work
>well, but this control cannot be validated.
>
>Any idea?
>
>thanks
>
>
>


 
Reply With Quote
 
 
 
 
Trapulo
Guest
Posts: n/a
 
      10-01-2007
Hello Steven,
I've created a new blank project to investigate the problem. In fact,
starting with a blank page the control did work after I used the
updatePanel. But then I discovered what is that make it unworking.

I've created a simple schema as this, that is a simple model of my real and
original page:

<asp:UpdatePanel ID="UpdatePanel2" runat="server">

<ContentTemplate>

<asp:Button ID="btnShow" EnableViewState="false" runat="server" Text="show"
/>

</ContentTemplate>

</asp:UpdatePanel>

<div>

<asp:UpdatePanel ID="UpdatePanel1" runat="server" EnableViewState="False"
UpdateMode="Conditional">

<ContentTemplate>

<aspanel ID="panelOne" runat="server" Visible="false"
EnableViewState="true">

<cc1:CaptchaControl ID="CaptchaControl1" runat="server" />

<asp:Button ID="Button1" runat="server" Text="Button" />

<asp:ValidationSummary ID="ValidationSummary1" runat="server" />

</aspanel>

</ContentTemplate>

</asp:UpdatePanel>

</div>

I've just this code on codebehind:

Protected Sub btnShow_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles btnShow.Click

Me.panelOne.Visible = True

Me.UpdatePanel1.Update()

End Sub



I know that there are better way to create this behavor, but as I said this
is only a part of myoriginal page and UI logic

After I put the btnShow button in the updatePanel2, the captcha stopped
working. So I think that there is some error using ASP.NET Ajax, but I
cannot find where.



Thanks







"Steven Cheng[MSFT]" <> wrote in message
news:...
> Hi Trapulo,
>
> From your description, you're using a 3rd party validation code control
> and
> found it won't work well within ASP.NET ajax update panel, correct?
>
> As for this particular control, I've also downloaded the source and demo
> and tested in my local environment. I found that the auhtor indicate that
> you should disable the ViewState (in his sample page, he disabled the
> <form>'s viewstate). I've tested the validation control in updatepanel
> and
> with updatepanel's viewstate disabled and seems it can work correctly.
> Would this be the cause of the problem you met?
>
> BTW, for make custom control compatible with aspx updatepanel, here is a
> forum aritcle maybe helpful:
>
> #HOWTO: Write controls compatible with UpdatePanel without linking to the
> ASP.NET AJAX DLL
> http://forums.asp.net/p/1040033/1445844.aspx
>
> Sincerely,
>
> Steven Cheng
>
> Microsoft MSDN Online Support Lead
>
>
>
> ==================================================
>
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/subscripti...ult.aspx#notif
> ications.
>
>
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
> http://msdn.microsoft.com/subscripti...t/default.aspx.
>
> ==================================================
>
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
> --------------------
>>From: "Trapulo" <>
>>Subject: control that doen't run in an updatepanel
>>Date: Sun, 30 Sep 2007 19:47:50 +0200

>
>>
>>I'm trying to run a "captcha" web control. Full control source is

> available
>>here:
>>http://www.codeproject.com/aspnet/Ca...124885&select=

> 2250821&df=100&fr=76
>>
>>It doesn't work if I put it in an UpdatePanel (ASP.NET Ajax), but I cannot
>>understand where is the problem. Basically I've an updatepanel with an asp
>>panel inside. This panel is not visible when the page is loaded, but
>>contains the captcha control. After the user select a command from the

> page
>>(a linkbutton external to the updatepanel), I make visible the panel. All
>>this is working: then captcha control is visibile, and I can see the

> image.
>>All other form fields and asp.net validators that are in the same panel

> work
>>well, but this control cannot be validated.
>>
>>Any idea?
>>
>>thanks
>>
>>
>>

>



 
Reply With Quote
 
Trapulo
Guest
Posts: n/a
 
      10-01-2007
I've found that if the updatePanel that contains the Captcha control has
Viewstate disable, it doesn't work in my scenario. If I enable it, then the
catcha works

BTW, can I ask you for a suggestion? This control stores "captcha codes" in
asp.net Cache. Can this be a performance or other kind of problem? Is it
better if I encrypt code and flow it as parameter in image url tag (<img
src="blabla.aspx?code=encryptedCode"), and in viewstate or other client side
store?


"Trapulo" <> wrote in message
news:...
> Hello Steven,
> I've created a new blank project to investigate the problem. In fact,
> starting with a blank page the control did work after I used the
> updatePanel. But then I discovered what is that make it unworking.
>
> I've created a simple schema as this, that is a simple model of my real
> and original page:
>
> <asp:UpdatePanel ID="UpdatePanel2" runat="server">
>
> <ContentTemplate>
>
> <asp:Button ID="btnShow" EnableViewState="false" runat="server"
> Text="show" />
>
> </ContentTemplate>
>
> </asp:UpdatePanel>
>
> <div>
>
> <asp:UpdatePanel ID="UpdatePanel1" runat="server" EnableViewState="False"
> UpdateMode="Conditional">
>
> <ContentTemplate>
>
> <aspanel ID="panelOne" runat="server" Visible="false"
> EnableViewState="true">
>
> <cc1:CaptchaControl ID="CaptchaControl1" runat="server" />
>
> <asp:Button ID="Button1" runat="server" Text="Button" />
>
> <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
>
> </aspanel>
>
> </ContentTemplate>
>
> </asp:UpdatePanel>
>
> </div>
>
> I've just this code on codebehind:
>
> Protected Sub btnShow_Click(ByVal sender As Object, ByVal e As
> System.EventArgs) Handles btnShow.Click
>
> Me.panelOne.Visible = True
>
> Me.UpdatePanel1.Update()
>
> End Sub
>
>
>
> I know that there are better way to create this behavor, but as I said
> this is only a part of myoriginal page and UI logic
>
> After I put the btnShow button in the updatePanel2, the captcha stopped
> working. So I think that there is some error using ASP.NET Ajax, but I
> cannot find where.
>
>
>
> Thanks
>
>
>
>
>
>
>
> "Steven Cheng[MSFT]" <> wrote in message
> news:...
>> Hi Trapulo,
>>
>> From your description, you're using a 3rd party validation code control
>> and
>> found it won't work well within ASP.NET ajax update panel, correct?
>>
>> As for this particular control, I've also downloaded the source and demo
>> and tested in my local environment. I found that the auhtor indicate that
>> you should disable the ViewState (in his sample page, he disabled the
>> <form>'s viewstate). I've tested the validation control in updatepanel
>> and
>> with updatepanel's viewstate disabled and seems it can work correctly.
>> Would this be the cause of the problem you met?
>>
>> BTW, for make custom control compatible with aspx updatepanel, here is a
>> forum aritcle maybe helpful:
>>
>> #HOWTO: Write controls compatible with UpdatePanel without linking to the
>> ASP.NET AJAX DLL
>> http://forums.asp.net/p/1040033/1445844.aspx
>>
>> Sincerely,
>>
>> Steven Cheng
>>
>> Microsoft MSDN Online Support Lead
>>
>>
>>
>> ==================================================
>>
>> Get notification to my posts through email? Please refer to
>> http://msdn.microsoft.com/subscripti...ult.aspx#notif
>> ications.
>>
>>
>>
>> Note: The MSDN Managed Newsgroup support offering is for non-urgent
>> issues
>> where an initial response from the community or a Microsoft Support
>> Engineer within 1 business day is acceptable. Please note that each
>> follow
>> up response may take approximately 2 business days as the support
>> professional working with you may need further investigation to reach the
>> most efficient resolution. The offering is not appropriate for situations
>> that require urgent, real-time or phone-based interactions or complex
>> project analysis and dump analysis issues. Issues of this nature are best
>> handled working with a dedicated Microsoft Support Engineer by contacting
>> Microsoft Customer Support Services (CSS) at
>> http://msdn.microsoft.com/subscripti...t/default.aspx.
>>
>> ==================================================
>>
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>>
>> --------------------
>>>From: "Trapulo" <>
>>>Subject: control that doen't run in an updatepanel
>>>Date: Sun, 30 Sep 2007 19:47:50 +0200

>>
>>>
>>>I'm trying to run a "captcha" web control. Full control source is

>> available
>>>here:
>>>http://www.codeproject.com/aspnet/Ca...124885&select=

>> 2250821&df=100&fr=76
>>>
>>>It doesn't work if I put it in an UpdatePanel (ASP.NET Ajax), but I
>>>cannot
>>>understand where is the problem. Basically I've an updatepanel with an
>>>asp
>>>panel inside. This panel is not visible when the page is loaded, but
>>>contains the captcha control. After the user select a command from the

>> page
>>>(a linkbutton external to the updatepanel), I make visible the panel. All
>>>this is working: then captcha control is visibile, and I can see the

>> image.
>>>All other form fields and asp.net validators that are in the same panel

>> work
>>>well, but this control cannot be validated.
>>>
>>>Any idea?
>>>
>>>thanks
>>>
>>>
>>>

>>

>
>



 
Reply With Quote
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      10-02-2007
Thanks for your followup Trapulo,

For the further memory pressure issue, I'm wondering whether your
application will be a high available one that has large concurrent users,
if not, I think such cache usage would be ok. Otherwise, surely, you can
put the code into encrypted urlstring or page's html source.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Trapulo" <>
>References: <>

<>
<>
>Subject: Re: control that doen't run in an updatepanel
>Date: Mon, 1 Oct 2007 16:30:52 +0200


>
>I've found that if the updatePanel that contains the Captcha control has
>Viewstate disable, it doesn't work in my scenario. If I enable it, then

the
>catcha works
>
>BTW, can I ask you for a suggestion? This control stores "captcha codes"

in
>asp.net Cache. Can this be a performance or other kind of problem? Is it
>better if I encrypt code and flow it as parameter in image url tag (<img
>src="blabla.aspx?code=encryptedCode"), and in viewstate or other client

side
>store?
>
>
>"Trapulo" <> wrote in message
>news:...
>> Hello Steven,
>> I've created a new blank project to investigate the problem. In fact,
>> starting with a blank page the control did work after I used the
>> updatePanel. But then I discovered what is that make it unworking.
>>
>> I've created a simple schema as this, that is a simple model of my real
>> and original page:
>>
>> <asp:UpdatePanel ID="UpdatePanel2" runat="server">
>>
>> <ContentTemplate>
>>
>> <asp:Button ID="btnShow" EnableViewState="false" runat="server"
>> Text="show" />
>>
>> </ContentTemplate>
>>
>> </asp:UpdatePanel>
>>
>> <div>
>>
>> <asp:UpdatePanel ID="UpdatePanel1" runat="server"

EnableViewState="False"
>> UpdateMode="Conditional">
>>
>> <ContentTemplate>
>>
>> <aspanel ID="panelOne" runat="server" Visible="false"
>> EnableViewState="true">
>>
>> <cc1:CaptchaControl ID="CaptchaControl1" runat="server" />
>>
>> <asp:Button ID="Button1" runat="server" Text="Button" />
>>
>> <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
>>
>> </aspanel>
>>
>> </ContentTemplate>
>>
>> </asp:UpdatePanel>
>>
>> </div>
>>
>> I've just this code on codebehind:
>>
>> Protected Sub btnShow_Click(ByVal sender As Object, ByVal e As
>> System.EventArgs) Handles btnShow.Click
>>
>> Me.panelOne.Visible = True
>>
>> Me.UpdatePanel1.Update()
>>
>> End Sub
>>
>>
>>
>> I know that there are better way to create this behavor, but as I said
>> this is only a part of myoriginal page and UI logic
>>
>> After I put the btnShow button in the updatePanel2, the captcha stopped
>> working. So I think that there is some error using ASP.NET Ajax, but I
>> cannot find where.
>>
>>
>>
>> Thanks
>>
>>
>>
>>
>>
>>
>>
>> "Steven Cheng[MSFT]" <> wrote in message
>> news:...
>>> Hi Trapulo,
>>>
>>> From your description, you're using a 3rd party validation code control
>>> and
>>> found it won't work well within ASP.NET ajax update panel, correct?
>>>
>>> As for this particular control, I've also downloaded the source and demo
>>> and tested in my local environment. I found that the auhtor indicate

that
>>> you should disable the ViewState (in his sample page, he disabled the
>>> <form>'s viewstate). I've tested the validation control in updatepanel
>>> and
>>> with updatepanel's viewstate disabled and seems it can work correctly.
>>> Would this be the cause of the problem you met?
>>>
>>> BTW, for make custom control compatible with aspx updatepanel, here is a
>>> forum aritcle maybe helpful:
>>>
>>> #HOWTO: Write controls compatible with UpdatePanel without linking to

the
>>> ASP.NET AJAX DLL
>>> http://forums.asp.net/p/1040033/1445844.aspx
>>>
>>> Sincerely,
>>>
>>> Steven Cheng
>>>
>>> Microsoft MSDN Online Support Lead
>>>
>>>
>>>
>>> ==================================================
>>>
>>> Get notification to my posts through email? Please refer to
>>>

http://msdn.microsoft.com/subscripti...ult.aspx#notif
>>> ications.
>>>
>>>
>>>
>>> Note: The MSDN Managed Newsgroup support offering is for non-urgent
>>> issues
>>> where an initial response from the community or a Microsoft Support
>>> Engineer within 1 business day is acceptable. Please note that each
>>> follow
>>> up response may take approximately 2 business days as the support
>>> professional working with you may need further investigation to reach

the
>>> most efficient resolution. The offering is not appropriate for

situations
>>> that require urgent, real-time or phone-based interactions or complex
>>> project analysis and dump analysis issues. Issues of this nature are

best
>>> handled working with a dedicated Microsoft Support Engineer by

contacting
>>> Microsoft Customer Support Services (CSS) at
>>> http://msdn.microsoft.com/subscripti...t/default.aspx.
>>>
>>> ==================================================
>>>
>>>
>>> This posting is provided "AS IS" with no warranties, and confers no
>>> rights.
>>>
>>>
>>> --------------------
>>>>From: "Trapulo" <>
>>>>Subject: control that doen't run in an updatepanel
>>>>Date: Sun, 30 Sep 2007 19:47:50 +0200
>>>
>>>>
>>>>I'm trying to run a "captcha" web control. Full control source is
>>> available
>>>>here:
>>>>http://www.codeproject.com/aspnet/Ca...id=124885&sele

ct=
>>> 2250821&df=100&fr=76
>>>>
>>>>It doesn't work if I put it in an UpdatePanel (ASP.NET Ajax), but I
>>>>cannot
>>>>understand where is the problem. Basically I've an updatepanel with an
>>>>asp
>>>>panel inside. This panel is not visible when the page is loaded, but
>>>>contains the captcha control. After the user select a command from the
>>> page
>>>>(a linkbutton external to the updatepanel), I make visible the panel.

All
>>>>this is working: then captcha control is visibile, and I can see the
>>> image.
>>>>All other form fields and asp.net validators that are in the same panel
>>> work
>>>>well, but this control cannot be validated.
>>>>
>>>>Any idea?
>>>>
>>>>thanks
>>>>
>>>>
>>>>
>>>

>>
>>

>
>
>


 
Reply With Quote
 
Trapulo
Guest
Posts: n/a
 
      10-03-2007
Thank you

"Steven Cheng[MSFT]" <> wrote in message
news:...
> Thanks for your followup Trapulo,
>
> For the further memory pressure issue, I'm wondering whether your
> application will be a high available one that has large concurrent users,
> if not, I think such cache usage would be ok. Otherwise, surely, you can
> put the code into encrypted urlstring or page's html source.
>
> Sincerely,
>
> Steven Cheng
>
> Microsoft MSDN Online Support Lead
>
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> --------------------
>>From: "Trapulo" <>
>>References: <>

> <>
> <>
>>Subject: Re: control that doen't run in an updatepanel
>>Date: Mon, 1 Oct 2007 16:30:52 +0200

>
>>
>>I've found that if the updatePanel that contains the Captcha control has
>>Viewstate disable, it doesn't work in my scenario. If I enable it, then

> the
>>catcha works
>>
>>BTW, can I ask you for a suggestion? This control stores "captcha codes"

> in
>>asp.net Cache. Can this be a performance or other kind of problem? Is it
>>better if I encrypt code and flow it as parameter in image url tag (<img
>>src="blabla.aspx?code=encryptedCode"), and in viewstate or other client

> side
>>store?
>>
>>
>>"Trapulo" <> wrote in message
>>news:...
>>> Hello Steven,
>>> I've created a new blank project to investigate the problem. In fact,
>>> starting with a blank page the control did work after I used the
>>> updatePanel. But then I discovered what is that make it unworking.
>>>
>>> I've created a simple schema as this, that is a simple model of my real
>>> and original page:
>>>
>>> <asp:UpdatePanel ID="UpdatePanel2" runat="server">
>>>
>>> <ContentTemplate>
>>>
>>> <asp:Button ID="btnShow" EnableViewState="false" runat="server"
>>> Text="show" />
>>>
>>> </ContentTemplate>
>>>
>>> </asp:UpdatePanel>
>>>
>>> <div>
>>>
>>> <asp:UpdatePanel ID="UpdatePanel1" runat="server"

> EnableViewState="False"
>>> UpdateMode="Conditional">
>>>
>>> <ContentTemplate>
>>>
>>> <aspanel ID="panelOne" runat="server" Visible="false"
>>> EnableViewState="true">
>>>
>>> <cc1:CaptchaControl ID="CaptchaControl1" runat="server" />
>>>
>>> <asp:Button ID="Button1" runat="server" Text="Button" />
>>>
>>> <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
>>>
>>> </aspanel>
>>>
>>> </ContentTemplate>
>>>
>>> </asp:UpdatePanel>
>>>
>>> </div>
>>>
>>> I've just this code on codebehind:
>>>
>>> Protected Sub btnShow_Click(ByVal sender As Object, ByVal e As
>>> System.EventArgs) Handles btnShow.Click
>>>
>>> Me.panelOne.Visible = True
>>>
>>> Me.UpdatePanel1.Update()
>>>
>>> End Sub
>>>
>>>
>>>
>>> I know that there are better way to create this behavor, but as I said
>>> this is only a part of myoriginal page and UI logic
>>>
>>> After I put the btnShow button in the updatePanel2, the captcha stopped
>>> working. So I think that there is some error using ASP.NET Ajax, but I
>>> cannot find where.
>>>
>>>
>>>
>>> Thanks
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> "Steven Cheng[MSFT]" <> wrote in message
>>> news:...
>>>> Hi Trapulo,
>>>>
>>>> From your description, you're using a 3rd party validation code control
>>>> and
>>>> found it won't work well within ASP.NET ajax update panel, correct?
>>>>
>>>> As for this particular control, I've also downloaded the source and
>>>> demo
>>>> and tested in my local environment. I found that the auhtor indicate

> that
>>>> you should disable the ViewState (in his sample page, he disabled the
>>>> <form>'s viewstate). I've tested the validation control in updatepanel
>>>> and
>>>> with updatepanel's viewstate disabled and seems it can work correctly.
>>>> Would this be the cause of the problem you met?
>>>>
>>>> BTW, for make custom control compatible with aspx updatepanel, here is
>>>> a
>>>> forum aritcle maybe helpful:
>>>>
>>>> #HOWTO: Write controls compatible with UpdatePanel without linking to

> the
>>>> ASP.NET AJAX DLL
>>>> http://forums.asp.net/p/1040033/1445844.aspx
>>>>
>>>> Sincerely,
>>>>
>>>> Steven Cheng
>>>>
>>>> Microsoft MSDN Online Support Lead
>>>>
>>>>
>>>>
>>>> ==================================================
>>>>
>>>> Get notification to my posts through email? Please refer to
>>>>

> http://msdn.microsoft.com/subscripti...ult.aspx#notif
>>>> ications.
>>>>
>>>>
>>>>
>>>> Note: The MSDN Managed Newsgroup support offering is for non-urgent
>>>> issues
>>>> where an initial response from the community or a Microsoft Support
>>>> Engineer within 1 business day is acceptable. Please note that each
>>>> follow
>>>> up response may take approximately 2 business days as the support
>>>> professional working with you may need further investigation to reach

> the
>>>> most efficient resolution. The offering is not appropriate for

> situations
>>>> that require urgent, real-time or phone-based interactions or complex
>>>> project analysis and dump analysis issues. Issues of this nature are

> best
>>>> handled working with a dedicated Microsoft Support Engineer by

> contacting
>>>> Microsoft Customer Support Services (CSS) at
>>>> http://msdn.microsoft.com/subscripti...t/default.aspx.
>>>>
>>>> ==================================================
>>>>
>>>>
>>>> This posting is provided "AS IS" with no warranties, and confers no
>>>> rights.
>>>>
>>>>
>>>> --------------------
>>>>>From: "Trapulo" <>
>>>>>Subject: control that doen't run in an updatepanel
>>>>>Date: Sun, 30 Sep 2007 19:47:50 +0200
>>>>
>>>>>
>>>>>I'm trying to run a "captcha" web control. Full control source is
>>>> available
>>>>>here:
>>>>>http://www.codeproject.com/aspnet/Ca...id=124885&sele

> ct=
>>>> 2250821&df=100&fr=76
>>>>>
>>>>>It doesn't work if I put it in an UpdatePanel (ASP.NET Ajax), but I
>>>>>cannot
>>>>>understand where is the problem. Basically I've an updatepanel with an
>>>>>asp
>>>>>panel inside. This panel is not visible when the page is loaded, but
>>>>>contains the captcha control. After the user select a command from the
>>>> page
>>>>>(a linkbutton external to the updatepanel), I make visible the panel.

> All
>>>>>this is working: then captcha control is visibile, and I can see the
>>>> image.
>>>>>All other form fields and asp.net validators that are in the same panel
>>>> work
>>>>>well, but this control cannot be validated.
>>>>>
>>>>>Any idea?
>>>>>
>>>>>thanks
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>

>>
>>
>>

>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in running a basic code in python 3.3.0 that includes HTML file Satabdi Mukherjee Python 1 04-04-2013 07:48 PM
Run subroutine using UpdatePanel DavidC ASP .Net 0 02-14-2010 10:17 PM
Triggering an UpdatePanel with a trigger located outside of the UpdatePanel Nathan Sokalski ASP .Net 1 06-15-2009 06:23 PM
refresh an updatePanel in an other updatePanel fran_j_diaz@yahoo.fr ASP .Net 3 08-08-2007 06:30 AM
Run Javascript in asp:updatepanel, not executing !? jesper_lofgren@yahoo.se ASP .Net 0 01-17-2007 09:55 PM



Advertisments