|
I have a datagrid in my page which has 5 columns.
While first column being a template column with item template a checkbox and followed by 3 bound column.
The last column is a EditCommand column.
The problem which i face is when the Edit is clicked in EditCommand column the bound column are getting changed to editable mode in a textbox. But i couldnt access the text entered by the user in these editable columns which has to bo updated.
i tried typecasting the controls[0] property of the item to textbox and access it but the text value is empty.
Similar is the case for checkbox.
Kindly help me out.
Thanks,
Srikanth
|
|
|
|
|
Make the column as readonly..
|
|
|
|
|
Making the column readonly will only restrict user from editing the column. ofcourse i have made the columns which i dont want the user to edit as read only.
But the column which should be edited by the user cannot be set as readonly. i need to know how to access the data entered by the user in the editable column.
Thanks,
Srikanth
|
|
|
|
|
Something like this:
foreach (GridViewRow item in GridView1.Rows)
{
string firstName = ((TextBox)item.Cells[4].FindControl("txtValue")).Text;
string pending = ((TextBox)item.Cells[4].FindControl("txtComment")).Text;
}
|
|
|
|
|
yes i tried this and also the other i.e in OnEditCommand event
TextBox txtTemp = (TextBox)e.item.Cells[2].Controls[0];
and then used the Text property of txtTemp.
But i am getting the value as empty even after the user has entered some text.
Are you getting me??
Kindly help me out.
Thanks,
Srikanth
|
|
|
|
|
Check this link:
http://www.gridviewguy.com/ArticleDetails.aspx?articleID=146
|
|
|
|
|
Hi
Im using Fusion Charts.
My problem is that i have a page that generates a chart BUT the page itself does not seem to be able to store the value of a variable. Cos I want to print out the objects values in a panel next to the chart.
It looks like the Fusion Chart uses Javascript, i dont know if this is the problem here.
What i think could solve my problem was if i could create a page within a page. So ie. my panel could be in one page and the chart in another.Kind of like Outlook. If this will help, will someone please help me out with how to go about doing this??
|
|
|
|
|
HI
In my page i have 2 search Buttons
1. DB search (3 Textboxes)
2. Local search (5 Textboxes)
I gave the DB and Local search textboxes RequiredFieldValidators for validation
When i click Local search button DB serach validation working
How can i fix this
Than Q
Keerthi
|
|
|
|
|
Use ValidationGroup property for Both searching Criteria
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
what u want to fix. plz explain in brief
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
In properties change the Causes validation to false
|
|
|
|
|
HI thx for reply
My prblm is
2 search buttons (search 1 = 3 textboxs::search 2 = 5 textboxs )
i put RequiredFieldValidator's for both search fields
when i click search 2 button the search 1 textboxs validation are working
i want to do is when i click search 2 button only search 2 textboxs validation shud work
how can i do this
Than Q
Keerthi
|
|
|
|
|
I have given u solution .
read my first post.
use ValidationGroup Property for both.
Give ValidationGroup="group1" for DBs RequiredFiledValidators,Textboxes and Buttons
and Give ValidationGroup="group2" for other RequiredFiledValidators,Textboxes and Buttons
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
HI
ValidationGroup="group1" is not working
I think my ver. prblm i am using 1.1
is there any other way to use RequiredFieldValidator
Than Q
Keerthi
|
|
|
|
|
Hi to all.
I have some ASPX pages which are to be converted to PDF formate:
I have successfully to convert DaTAtable to pdf. but that's not enough.
So if anyone has a little idea
'or'
any method
'or'
any .DLL
'or'
code
So,Please post as soon as possible.
|
|
|
|
|
maybe this will help?
http://www.codeproject.com/script/comments/forums.asp?msg=2231475&forumid=12076#xx2231475xx
|
|
|
|
|
Hi
I want to implement forum in asp.net.Can any body tell me how can i
implement forum in asp.net.Is there any softwre available to implemnt
forum which support asp.net like wordpress is available for php through
which we make forum in php.
Please tell me how can i procedd.
Thanks.
Rahul
|
|
|
|
|
http://communityserver.org/ [free + paid]
http://www.yetanotherforum.net/ [free]
http://sourceforge.net/projects/dnfbb [free]
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Thanks
Can i integrate with this software to create forum.Can u little
bit guide me how can i start and how can i use/integrate with that.
Thanks.
Rahul
|
|
|
|
|
No. You don't need to create anymore.. Just download and configure it. and you can use it directly...
Try to download and see the documentation for installing......
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Thanks a lot
I m now dowloading it. After downloading it i have to setup it
on my machiene then i can directly interact with it i am also
read documention after downloading.I i want to enable forum
i have to run setup on my server then i can directly use it.
Rahul
|
|
|
|
|
Ya. You need to upload "PreComplied" folder to your server.. then, run the database setup script thru Web Database manager.. and you can use it..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Precomplied folder means folder which contain setup.exe? and which database
script i have to run?in forum we have to store all question into database?
Ok i will try it?
thanx for u r help?
Rahul.
|
|
|
|
|
>>Precomplied folder means folder which contain setup.exe?
Nope.
Which one did you download? Yet Another Forum.NET?
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
HI
i am downloading http://sourceforge.net/projects/dnfbb this.
which one is user friendly and easy to use?
df
|
|
|
|