ok .. as u have passed "this" i.e object totally to function use it x= obj.value; ================ anyway as of ur function it should work!!!
nyogeswar
Posts
-
how to know id of dynamically created web server control on client side using javascript when sever control is on aspx page & that aspx page in MasterPage -
can anyone help me with folder path file problem>? -
Upload Filehave you tried PostedFile.SaveAs(@SavePath & FileName) Yogesh
-
can anyone help me with folder path file problem>?I also faced the same problem but in different scenario. i solved by replacing html img control "
" to asp:image server control and gave src path as "~/images/registerbidder.jpg" as in ur case. the "~" will point the root path. Yogesh
-
how to know id of dynamically created web server control on client side using javascript when sever control is on aspx page & that aspx page in MasterPageIn this particular case try use like Textbox textbox1 = new TextBox1(); textbox1.Attributes.Add("OnMouseOver","FunTest(this)"); and "this" will give the object and you can use in ur "Funtext" function... like obj.value 'No need of getElementById try this.... Sorry if i am wrong.... Yogesh -- modified at 2:47 Friday 30th March, 2007
-
how to know id of dynamically created web server control on client side using javascript when sever control is on aspx page & that aspx page in MasterPageYou can access the server control in javascript by its property called "clientid" so in aspx assign a variable with the clientid of the textbox(or any server control) ex: var ctrid=<%= TextBox1.ClientId %>; and use it. Yogesh.
-
Dim and diable web pagehttp://www.codeproject.com/aspnet/Modal_Dialog.asp[^]
Best Regards, Yogesh........
-
Add Comma's in Integer fieldhttp://www.w3schools.com/xsl/el_decimal-format.asp[^] This Link would help u......... With Best Regards, Yogesh
-
datagridviewCreate DataTable using Dataset generated from the Adapter And Then create a DataView and assign to Datasource of DataGrid control. And Bind it. Sorry if iam understood ur question incorrectly....;P With Best Regards, Yogesh
-
How to retrive values into DataGridView From a XMLFile using c#.net2.0Use this Sample............. I have used DataCaching also in it.......... private void Page_Load(object sender, System.EventArgs e) { if(Cache["1"]==null) { FileStream fs = new FileStream(Server.MapPath("simple.xml"),FileMode.Open,FileAccess.Read); CacheDependency cd=new CacheDependency(Server.MapPath("simple.xml")); DataSet ds=new DataSet(); ds.ReadXml(fs); DataView xmldata =new DataView(ds.Tables[0]); Cache["1"]=xmldata; Cache.Insert("1",xmldata,cd); } DataGrid1.DataSource=Cache["1"]; DataGrid1.DataBind(); // Put user code to initialize the page here } With Best Regards, Yogesh