|
Really not sure what you mean, but you can loop through all the rows in the datagrid in the server code and access whatever button you want?
|
|
|
|
|
we can access any button in datagrid by using this code .
you have to write this code
if u want first row ,specify '0' in Items[0]
Instead of zero u can specify any row number
Button btn = (Button) datagridname.Items[0].FindControl("buttonname");
you can get the button text by using " btn.Text ".
Response.Write(btn.Text);
srinivas
|
|
|
|
|
Can i fire up functions/method in ther server side (vb.net) using the client side code (java script)? How can i call the functions in the serevr side?Please show me the code. Thanks alot
|
|
|
|
|
In Javascript code just submit your page
eg. Form1.submit();
So that your page will get reloaded and contents of web controls will remain as it is due to view state.
In page Load event code do further processing.
#Abhi#
|
|
|
|
|
|
Or you can directly call the javascript __DoPostback() function.
|
|
|
|
|
Hi all! I was just wondering does anyone of you have any idea about Skelta workflow.Net 2004 (It is a third party tool to develop workflows). Currently working with it and I'm facing many problems.If anyone have worked with it plesae respond.
Many Thanks
Don't Quit
|
|
|
|
|
A quick search on Google gives you their main site. If they have a message board, your question may be answered quickly there.
|
|
|
|
|
Hi there!! I'm already aware of this and in touch with them but it is taking too much time to my liking.
Thanks.
Don't Quit
|
|
|
|
|
Hey... I want to create a few Validation controls, but I need to create them to two events.
I mean that in one event only half of them will gonna work, and on the other event the rest will work.
Now I think it has something to do with ValidationGroup.
Is it? and if it is, how can I check if the group is Valid inside the event?
Thanks alot.
NaNg.
|
|
|
|
|
Try using the Enable property for each control
i mean, on load form, the first controls group are enable and the second group disable,
The validation control for the first group will be working meanwhile the validation control for second group arent, already the first validation, disable the all the controls for first group and enable the second, right now you can validate the second group.
Try it, its just a suggest
keep Learning and you never will be out of date...
|
|
|
|
|
how can i convert a text to audio? i have some text files and want them to be saved as audio files.
i have seen some tools but how can i do this in .net...
sanjeev
|
|
|
|
|
how to place limit on the number of characters to be entered in the multiline mode textbox?For ex. if i have to limit numbers to 1000 characters. I have tried using Maxlength=1000 but it is not working.
Can any one help me out?
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
Yah It did not work that way.You may try to trim the text when retrieving it to 1000 characters.
Don't Quit
|
|
|
|
|
Thank you for replying,
i solved the problem using length property of textbox control.
bye..
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
Write a Message for the clients, Example:"Only 1000 caracters for description"
In code use
<br />
Description.Remove(1000);<br />
keep Learning and you never will be out of date...
|
|
|
|
|
Thank you so much for proper guidance.
I have successfully completed my fuctionality.
bye..
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
go for javascript code and make a fuction for that textbox which will count the number of character make a if else and genrate a alert msg
this function fires on keyup or down events .
fuction abc()
{
if(len(document.getelementbyid("").value) >1000)
{
alert("not allowe");
return;
}
}
hope this will be ok try to mold this code with ur use
|
|
|
|
|
on button click i m opening one window.As we all know that by default popup blocking is ON on most of the browser. my requriement is how do i find popup blocking is ON or OFF on a page in javascript as well as in .net. if ON then i want to display message in status bar.
Regards
Amit Grover
Amit Grover
CDAC R&D
|
|
|
|
|
|
hi friends
hi friendsiam new for asp.net my work is datagrid view how to check box all items ,delete checked all items there are iam taking to one buttons,one label is a message ThereNoRecords 1)delete all Records 2) There Are no Records
if iam delete all records frist check the database ,and next give display message of label there are no records , if there is no records datadrid is Enable for form
please urgent
thank u
harishkumar.macherla
|
|
|
|
|
|
I have a need to capture the onblur and onfocus events of my input boxes on an html form and perform custom external handling in my vb.net application. I have been able to successfully hook up a handler to the 'onclick' event, but the 'onblur' events are not working. Can anybody please tell me why is it happening?
i have picked up an input box and then attaching an evenhandler using
AddHandler CType(txt, mshtml.HTMLInputTextElementEvents2_Event).onblur, AddressOf Me.txt2_HTMLInputTextElementEvents_Event_onblur
and the correspoding handler is like this.
Private Sub txt2_HTMLInputTextElementEvents_Event_onblur(ByVal pEvtObj As mshtml.IHTMLEventObj)
.....................
........some code will go here .......
.....................
End Sub
|
|
|
|
|
u can not fire two client side events on one control.
|
|
|
|
|
Hi dear,
I want to use Webdatawindow control in asp.net. Using ADO Dataset as datasource.how it is possible ? I also want it in three tier.Please help me.If you can possible give my email id of anybody who is using webdatawindow control in ap.net.
Thank you
Mali.K
|
|
|
|