|
What about adding the attribute while building? For example.
<br />
TreeNode tn = new TreeNode();<br />
tn.Attribute.Add("onclick","yourfun();");
just an example.. I dont know how you build the treeview dynamically.
|
|
|
|
|
Thanks Michael
I am loading the treeview nodes from the database.
In TreeNode there is no attribute.add property.
still problem exists
|
|
|
|
|
What about this?
TreeNode tn = new TreeNode("<span onclick="yourfunction();"> your text</span>")
|
|
|
|
|
Hai Michael
This is also not working. Actually i want to collapse the navigation frame that contain the treeview after clicking the TreeNode. The page is loaded in to another frame in the same window. My treeview is populated from the database.
Thanks
|
|
|
|
|
Hi,
I hve created a menu like
item Product
it1 p1
it2 p2
it3 p3
I created this menu by edit menu property. Now My problem is i want to disable an item according to a condition. For eg. i hve to chek whether this product p3 is in stock table of dbase. if it is not there then i want to disable P3 .I hve seen some XML related articles but i dont know XML . How can we disable an item in menu. I tried for e.item.enabled =false. But that too didn;t work .How can i do this. Please help me
Thanks in advance
With regards
anitha
|
|
|
|
|
Hi,
Requirement: In application start,the schedule is triggered and it should generate report by fetching data from database(DB2) and export into word or excel and send a mail daily. This scheduler should work as background process, should not depend on the browser. Windows services or windows scheduler should not be used as per requirement
Please help me in this regard.
Regards,
Manowj
|
|
|
|
|
do you need a web based or windows based application?
You can create your own widowservices for it .
if i am wrong can you explain me some detatils of requirments!
Thanks in advance !!!!
|
|
|
|
|
manowj wrote: Windows services or windows scheduler should not be used as per requirement
Strange ! Why it should not be used, where it is the right solution ?
manowj wrote: In application start,the schedule is triggered and it should generate report by fetching data from database(DB2) and export into word or excel and send a mail daily
Create a standalone application that works on background, and does this job. Start the exe on application_start using System.Diagnostics.Process.Start() . If you could use windows service, it would be a better choice.
|
|
|
|
|
Does DB2 have a scheduled jobs service similar to SQL server? That could be a handy way of doing it.
|
|
|
|
|
You should not bid on rentacoder jobs if you don't know how to do them
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I am using the following code to retrieve the Id of all the radiobuttonlist in my aspx form. But I also want the value of the radiobuttonlist. Anyone know how can i do this thing.
If Form.HasControls() Then
Dim i As Integer
For i = 0 To form1.Controls.Count - 1
If InStr(form1.Controls(i).ID, "rad") Then
Response.Write( " - " & form1.Controls(i).ID)
End If
Next i
End If
Thanking You!
Rock Star
|
|
|
|
|
how do i add a RSS to my webpage using asp.net 2.0?????. i already created one rss xml file.
how browser know about current page has rss feed?
|
|
|
|
|
|
|
Hello Everyone,
Can anybody let me know how to send the DataBound Value(DataList) in Javascript function...............
This is my third time asking the same time..........
Plz someone help me..............
|
|
|
|
|
The Knowledge wrote: This is my third time asking
The Knowledge wrote:
"javascript:doTooltip(event,0,'<%# DataBinder.Eval(Container.DataItem,"Image") %>')"
Did you miss "=" ?? not sure..
I think, the code that you wrote is right. I'm not so sure why you don't get the value.. maybe.. the field from database is null or something.. If you can create the asp.net project sample and data with database, you can send it to me. I will take a look..
|
|
|
|
|
Ok i send my proj. but sir i'm using ASP.NET 1.1 and SQL Server 2000
and also how can i send u my project to u i mean i don't know where is it to send.......
|
|
|
|
|
The Knowledge wrote: and also how can i send u my project to u i mean i don't know where is it to send.......
You can reach me with this address "mchlsync AT gmail DOT com".
Don't send SQL database if it's 2000 version because I don't have SQL 2000. But you can tell me the table structure and the data that you filled..
|
|
|
|
|
Sir,
I've sent u a sample project and database design
|
|
|
|
|
Sir,
Have u received my mail and taken a look at my prob.
|
|
|
|
|
Hai all
How can i resize a frame when click on the treeview child in another frame. these two frames are in the same page inside a frameset. i need to collapse the frame that have dynamically loaded treeview when the page loaded in to the main frame.
Please help me.
|
|
|
|
|
Hi,
I am implementing a JavaScript Calender in my Page. It works well in Internet Explorer
but not in Mozila. My Javascript calender in in content page. It contains a .css file and a .js file to render the control. I am using an img to call the calender and set the value of the textbox to the selected date on calendar.
help. thanx in advance
Ranjeet
|
|
|
|
|
Probably the calendar use proprietary IE JS codes. You need to install firebug and check what's wrong with the JS
|
|
|
|
|
|
Hi Friends,
How to refresh the web page automatically for every minute.Can any one tell me please.
Thanks & Regards
Senthil Kumar
|
|
|
|