C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » Visual Studio »

TextBox Leave Event


Posted Date: 30 Oct 2009      Posted By: ujual      Member Level: Silver     Points: 1   Responses: 5



I have a GridView, its datasouce is null. I added a new row and dynamically made a TextBox Column. For that CheckBox Column i created a EventHandler textBox_Leave.
Now when I leave the textbox it is giving null as the text first time even i entered the value. Again i made the focus to the same textbox and left.
Second time it is returning the current value in the textbox.





Responses

Author: Dharmaraj    30 Oct 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

Hi,
Your explanation looks confusing, please explain clearly.

Regards,
Dharma
Editor,Mentor,MVM
Try and fail but don't fail and try
Me and DNS



Author: ujual    30 Oct 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

Sorry,

I have a gridview, the datasource of that gridview is a dataset from a database.
In one condtion my dataset row count is 0.
That time i made the datasource as null.

After this i tried to enter the value to the textbox column it is allowing to enter.

But when i try to read that value in my programme it is giving null after entering the value also.



Author: ujual    30 Oct 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

I am woking in .Net platform C# language


Author: sudha    10 Nov 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

Instead of adding the ADD handler. Why dont you try the Datagridview_cellLeave event. I think it may solve your problem.


Author: ujual    14 Nov 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

hi sudha i tried that, but this event wont fire while leaving a cell if u r not using handler..


Post Reply
You must Sign In to post a response.
Next : Audio signal generator
Previous : Database
Return to Discussion Forum
Post New Message
Category: Visual Studio

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use