try this for hidden elements
Declare your hidden elements as runat=server in aspx 
and in .cs declare like this

System.Web.UI.HtmlControls.HtmlGenericControl hidden1.

Then try.

Possibly It'll work

<Parag Somani>


imane elfechtani <[EMAIL PROTECTED]> wrote:
Hello,

can anyone help me in this:
I want to show and hide items in a datalist. The datalist is created in html 
and I want to control the hiden elements from .cs
I am working in c#. net

Thank you

Imane

"Kumar, Karthick" <[EMAIL PROTECTED]> wrote:
Hi,

As I am convering some class asp to asp.net, wondering if somebody can convert 
the following to asp.net (possibly in Csharp)

******************************************************************************************************************************************

                        arrRows = split(RootData, "*S*P*L*I*T*")

                        for i = 0 to ubound(arrRows)-1
                        
                              arrRootData = split(arrRows(i), "#*#")
                              x = ubound(arrRootData)-1
                              probName = ""
                              do while x <> 0 
                              
                                    probName = probName & arrRootData(x) & " - "
                                    x = x - 1
                              loop
                              
                              'get search string ID
                              arrSearch = split(arrRootData(x), "/\/\")

******************************************************************************************************************************************

And does anybody know any tool that will convert asp to asp.net as in the whole 
project or just a single file/page.

Many Thanks.

Regards,
Karthick


---------------------------------
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


            
---------------------------------
Discover Yahoo!
Find restaurants, movies, travel & more fun for the weekend. Check it out!

[Non-text portions of this message have been removed]



---------------------------------
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to