user control problem
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngcontrolsvb' list.


siri siris
hi all

i have to create one user controle with 3 hyperlinks.
after that i want to use this user controle in loop
for 20 times so that i will have 20*3 hyper links in
one page. i want to specify different unique names and
ids for 20*3 hyperlinks.how can i do this..please help
me...

Thanks
siri

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

Reply to this message...
 
    
siri siris
-- Moved from [aspngstart] to [aspngcontrolsvb] by Charles M. Carroll <Click here to reveal e-mail address> --

hi all

i created one user controle with 2 text boxes(names of
text boxes is t04 and t05 respectivelly), and i
registered that user controle in my .aspx page
programatically like..

Dim x As Control
x = LoadControl("QtrEdit.ascx")
...

i have also one HtmlAnchor controle in that user
controle like...

<A id="fn" runat="server" href="">

and in usercontroles serverside code i have following
event...

Private Sub fn_ServerClick(ByVal sender As Object,
ByVal e As System.EventArgs) Handles fn.ServerClick
Dim x As String
    Dim y As String
x = Request("t04")
    y = Request("t05")
End Sub
....

when i enter some value in text boxes(t04 and t05) and
if i click on HtmlAnchor(fn), controle is going to
fn_ServerClick,
but x and y is null..there is no value..why? please
help me..

Thanks
siri

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

Reply to this message...
 
 
System.EventArgs
System.Web.UI.HtmlControls.HtmlAnchor




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com