-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: parmar_CP
Message 5 in Discussion


hello,
how can i solve this problem ?
Regards.
Chandrakant.

  ----- Original Message ----- 
  From: 
  mandy 

  To: [EMAIL PROTECTED] 
  
  Sent: Monday, August 11, 2003 11:35 
  AM
  Subject: Re: Data Grid Problem 
  e.Item.FindControl("txtEditQty")
  

  
    
      
      New Message on MumbaiUserGroup
    
      

  Data Grid 
    Problem e.Item.FindControl("txtEditQty")


    
      
      
        Reply

        
          
            
            
               
              Reply to Sender   Recommend 
              Message 2 in 
                Discussion 
      
        
          
            
            
              From: mandy 
            
              

                Try type 
                casting as follows
                
                
Dim 
                mvartxtEditQty As TextBox = 
                CType(e.Item.FindControl("txtEditQty"), 
                TextBox)
                 
                 

                
                  
Regards 
                  
Mandar 
                  .J.Morekar 
Phone: +91- 22-55914646. Extn: 
                  4296 
                
There's no 
                better time to be happy than right 
                now 
                
                  
                  -----Original 
                  Message-----
From: MumbaiUserGroup 
                  [mailto:[EMAIL PROTECTED] 
Sent: 
                  Monday, August 11, 2003 11:17 AM
To: 
                  MumbaiUserGroup
Subject: Data Grid Problem 
                  e.Item.FindControl("txtEditQty")


                  
                    
                    
                      
                      New Message on MumbaiUserGroup
                    
                      

                  Data Grid Problem 
                    e.Item.FindControl("txtEditQty")


                    
                      
                      
                        Reply

                        
                          
                            
                            
                               
                              Recommend 
                              Message 1 in 
                                Discussion 
                      
                        
                          
                            
                            
                              From: 
                                parmar_CP 
                            
                              

                                Hello, 

                                I am using Data 
                                Grid Item Template and Edit 
                                Template Grid has 5 columns one of the 
                                column is editable,
                                when i click on 
                                edit then change the value, when i click on 
                                update, i am albe to get the value of the label 
                                control within the data grid but i am not able 
                                to get the value of the text box control i am 
                                using e.item.findcontrol("Textbox1") to get the 
                                value.
                                Here is the code 
                                which i am using
                                
                                
Private Sub 
                                DgConvArea_UpdateCommand(ByVal 
                                source As Object, 
                                ByVal e As 
                                System.Web.UI.WebControls.DataGridCommandEventArgs) 
                                Handles 
                                DgConvArea.UpdateCommand
                                
Dim mvartxtEditQty 
                                As TextBox = 
                                e.Item.FindControl("txtEditQty")
                                
Dim ConvenienceID 
                                As Label = 
                                e.Item.FindControl("ConvenienceID")
                                
Response.Write(" txtEditQty= " & 
                                mvartxtEditQty.Text)
                                
Response.Write("<BR>ConvenienceID = " 
                                & ConvenienceID.Text)
                                
DgConvArea.EditItemIndex = -1
                                
BindDataConvenienceArea()
                                
End Sub
                                
 
                                
The Result is 
                                
txtEditQty= 
ConvenienceID = 
                                207
                                
Can any 
                                one help me what could be the problem 
                                ?
                                
Regards.
                                
Chandrakant.
View other groups in this category. 
                  



MASTEK
"Making a valuable 
                  difference"
Mastek in NASSCOM's 'India Top 20' Software 
                  Service Exporters List.
In the US, we're called 
                  MAJESCO

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions 
                  expressed in this e-mail are those of the individual and not 
                  that of Mastek Limited, unless specifically indicated to that 
                  effect. Mastek Limited does not accept any responsibility or 
                  liability for it. This e-mail and attachments (if any) 
                  transmitted with it are confidential and/or privileged and 
                  solely for the use of the intended person or entity to which 
                  it is addressed. Any review, re-transmission, dissemination or 
                  other use of or taking of any action in reliance upon this 
                  information by persons or entities other than the intended 
                  recipient is prohibited. This e-mail and its attachments have 
                  been scanned for the presence of computer viruses. It is the 
                  responsibility of the recipient to run the virus check on 
                  e-mails and attachments before opening them. If you have 
                  received this e-mail in error, kindly delete this e-mail from 
                  all 
                  computers.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View other groups in this 
    category. 



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to