Click here to Skip to main content
15,896,915 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionNeed Help with Gridview update Pin
Jats_4ru14-Feb-08 22:20
Jats_4ru14-Feb-08 22:20 
AnswerRe: Need Help with Gridview update Pin
Herman<T>.Instance8-May-08 2:52
Herman<T>.Instance8-May-08 2:52 
QuestionHow can i save image in the database? Pin
Amit.Amit.Amit...14-Feb-08 22:19
Amit.Amit.Amit...14-Feb-08 22:19 
GeneralRe: How can i save image in the database? Pin
N a v a n e e t h14-Feb-08 22:38
N a v a n e e t h14-Feb-08 22:38 
GeneralRe: How can i save image in the database? Pin
Eduard Keilholz14-Feb-08 23:31
Eduard Keilholz14-Feb-08 23:31 
GeneralRe: How can i save image in the database? Pin
N a v a n e e t h15-Feb-08 0:03
N a v a n e e t h15-Feb-08 0:03 
GeneralRe: How can i save image in the database? Pin
Eduard Keilholz15-Feb-08 0:48
Eduard Keilholz15-Feb-08 0:48 
QuestionCustom Web Control Pin
jdstuart14-Feb-08 22:12
jdstuart14-Feb-08 22:12 
Good day.

I'm developing my own web control and I'm trying to set the other control as a property of my web control i.e.

<mycontrol:customcontrol id="TestID" formsubmitbutton="btn_SubscribeMe">

I need to access the btn_SubscribeMe from within my control. How can I achieve this?

The code for my control looks like this.

Private _formSubmitButton As WebControl
Public Property FormSubmitButton() As WebControl
Get
Return _formSubmitButton
End Get
Set(ByVal value As WebControl)
_formSubmitButton = value
End Set
End Property

And I get the following error:
Cannot create an object of type 'System.Web.UI.WebControls.WebControl' from its string representation 'btn_SubscribeMe' for the 'FormSubmitButton' property.

Can anyone tell me how I can acheive this?
Thank you very much. C# or VB code welcome.
GeneralRe: Custom Web Control Pin
Sandeep Akhare14-Feb-08 22:41
Sandeep Akhare14-Feb-08 22:41 
GeneralRe: Custom Web Control Pin
jdstuart14-Feb-08 23:15
jdstuart14-Feb-08 23:15 
GeneralRe: Custom Web Control Pin
Sandeep Akhare15-Feb-08 0:09
Sandeep Akhare15-Feb-08 0:09 
Questionhow can i call javascript in an asp.net content pages Pin
chippy14-Feb-08 22:12
chippy14-Feb-08 22:12 
AnswerRe: how can i call javascript in an asp.net content pages Pin
Sandeep Akhare14-Feb-08 22:36
Sandeep Akhare14-Feb-08 22:36 
Generalquery not parsing Pin
Krishna Varadharajan14-Feb-08 21:20
Krishna Varadharajan14-Feb-08 21:20 
GeneralRe: query not parsing Pin
Christian Graus14-Feb-08 21:43
protectorChristian Graus14-Feb-08 21:43 
GeneralDouble post - Please Ignore Pin
N a v a n e e t h14-Feb-08 21:45
N a v a n e e t h14-Feb-08 21:45 
Generaloutlook in asp.net Pin
i gr814-Feb-08 20:34
i gr814-Feb-08 20:34 
GeneralRe: outlook in asp.net Pin
Christian Graus14-Feb-08 21:43
protectorChristian Graus14-Feb-08 21:43 
Questionhow to add tooltip in dropdownlist control that is filled by dataset Pin
mohd imran abdul aziz14-Feb-08 20:30
mohd imran abdul aziz14-Feb-08 20:30 
AnswerRe: how to add tooltip in dropdownlist control that is filled by dataset Pin
Venkatesh Mookkan14-Feb-08 21:13
Venkatesh Mookkan14-Feb-08 21:13 
GeneralActivate IE from asp.net Pin
i gr814-Feb-08 20:29
i gr814-Feb-08 20:29 
GeneralRe: Activate IE from asp.net Pin
Christian Graus14-Feb-08 21:45
protectorChristian Graus14-Feb-08 21:45 
GeneralRe: Activate IE from asp.net Pin
Vasudevan Deepak Kumar15-Feb-08 0:16
Vasudevan Deepak Kumar15-Feb-08 0:16 
GeneralRe: Activate IE from asp.net Pin
Senthil S17-Feb-08 23:08
Senthil S17-Feb-08 23:08 
General[Message Deleted] Pin
sm_78214-Feb-08 20:24
sm_78214-Feb-08 20:24 

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.