Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Its Urrgent ..How to Manipulate Properties Dynamically Created Controls

Its Urrgent ..How to Manipulate Properties Dynamically Created Controls

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    naresh_pandey13
    wrote on last edited by
    #1

    Hi All,:) (1)I want to crate n rows of 3 text boxes, where n is selected from a dropdownlist controls as 1 or 2 or 3....Wat Should i have to do..means will i place those text boxes inside a Table or without Table.. (2)Then I want to change the Text Value of last text box of a row according to some calculation on the 1st 2 text Boxes...how can i acheive this.... I will be very Thankful to u peoples .Its very Urgent .I have alreay wasted my 3-4 days in it.. So Plzz tell me ASAP.... Thanx alot in Advance ;P naresh This is naresh

    P C 2 Replies Last reply
    0
    • N naresh_pandey13

      Hi All,:) (1)I want to crate n rows of 3 text boxes, where n is selected from a dropdownlist controls as 1 or 2 or 3....Wat Should i have to do..means will i place those text boxes inside a Table or without Table.. (2)Then I want to change the Text Value of last text box of a row according to some calculation on the 1st 2 text Boxes...how can i acheive this.... I will be very Thankful to u peoples .Its very Urgent .I have alreay wasted my 3-4 days in it.. So Plzz tell me ASAP.... Thanx alot in Advance ;P naresh This is naresh

      P Offline
      P Offline
      PSK_
      wrote on last edited by
      #2

      Hi ... u want to handle this event from server side or client side using java script .. tell me .... i'll try to help accordingly Regards, Prakash Kalakoti

      N 1 Reply Last reply
      0
      • P PSK_

        Hi ... u want to handle this event from server side or client side using java script .. tell me .... i'll try to help accordingly Regards, Prakash Kalakoti

        N Offline
        N Offline
        naresh_pandey13
        wrote on last edited by
        #3

        Hi Prakash, actually i want it to handle from server side(ASP.Net).... and i want to handle the events on dynamic created controls ,also.... like to set value in 3rd TextBox ,on basis of 1st 2 textboxes values. Plzz tell me how to do that dear friend.. (if possible tell me the client side solution too) naresh This is naresh

        1 Reply Last reply
        0
        • N naresh_pandey13

          Hi All,:) (1)I want to crate n rows of 3 text boxes, where n is selected from a dropdownlist controls as 1 or 2 or 3....Wat Should i have to do..means will i place those text boxes inside a Table or without Table.. (2)Then I want to change the Text Value of last text box of a row according to some calculation on the 1st 2 text Boxes...how can i acheive this.... I will be very Thankful to u peoples .Its very Urgent .I have alreay wasted my 3-4 days in it.. So Plzz tell me ASAP.... Thanx alot in Advance ;P naresh This is naresh

          C Offline
          C Offline
          Chincha
          wrote on last edited by
          #4

          Hi Naresh, For the dynamically created controls, provide id's and write the AddHandler() method and from this, u will get the TextBox1 value and in the same way u can get the TextBox2 value also, and finally do the caliculations what u want and assign the resultant value to the third textbox. Here I will write the code for Addhandler() method: Say Txt1 is the id of the first dynamically created TextBox then AddHandler Txt1.TextChanged, AddressOf Function1 and the code for the Function1 is: Sub Function1(ByVal sender As System.Object, ByVal e As EventArgs) dim Value Value=Txt1.Text End Sub In this way u can get the value Nagendra Rao.Kandukuri

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups