Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:13285
More Search Options
RSS Available
Matching Posts
Re: Tweaking the TreeView navigation control - perhaps???
You can us ethe ExpandDepth prop, ala: <asp:TreeView ExpandDepth="1" runat="server"> <Nodes> <asp:TreeNode Text="Employees"> <asp:TreeNode Text="Bradley" Value="ID-1234" /> <asp:TreeNode Text="Whitney" Value="ID-5678" /> <asp:TreeNode Text="Barbara" Value="ID-9101" /> </asp:TreeNode> </Nodes> </asp:TreeView> HTH JD
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
jdixon
on 3/29/2006
Re: Tree View Control (postback)
This post should get you started. http://forums.asp.net/911363/ShowPost.aspx HTH JD
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
jdixon
on 3/29/2006
Re: How to create a row in the database?
HTH <%@ Page Language="C#" %> <html> <script runat=server> protected void Button1_Click(object sender, EventArgs e) { SqlDataSource1.Insert(); GridView1.DataBind(); } </script> <body> <form id="form1" runat="server"> <div> </div> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:VenusTestsConnectionString1 %>" ProviderName="<%$ ConnectionStrings:VenusTestsConnectionString1
Posted to
Data Presentation Controls
(Forum)
by
jdixon
on 3/13/2006
Re: Trapping an empty repeater
I'm sure there are other ways - here is one that comes to mind: HTH JD <%@ Page Language="C#" %> <html> <script runat=server> protected override void OnSaveStateComplete(EventArgs e) { if (Repeater2.Items.Count == 0) { Label1.Visible = true; } else { Label1.Visible = false; } } </script> <body> <form id="form1" runat="server"> <div> </div> <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:VenusTestsConnectionString1
Posted to
Data Presentation Controls
(Forum)
by
jdixon
on 3/13/2006
Re: Postback problem ?
Sounds like the record is actually being deleted and you just need to call databind on the datalist. You can handle the Deleted event and call DataList1.DataBind() to refresh the data. HTH JD
Posted to
Data Presentation Controls
(Forum)
by
jdixon
on 3/13/2006
Re: Is Microsoft Hiring?
Depends on each situation. Usually, if interested, quite fast. JD
Posted to
Jobs
(Forum)
by
jdixon
on 3/8/2006
Re: Pre Selecting Checkboxlist using checkboxlist and sqldatasource (2.0)
guessing there are better ways - here is one that comes to mind: <%@ Page Language="C#" %> <html> <script runat=server> protected void CheckBoxList1_DataBound(object sender, EventArgs e) { CheckBoxList cbl = (CheckBoxList)sender; foreach (ListItem l in cbl.Items) { if (l.Text == "2") //or whatever check you need to do { l.Selected = true; break; } } } </script> <body> <form id="form1" runat="server"> <div> <asp:SqlDataSource ID="SqlDataSource1" runat=
Posted to
Data Presentation Controls
(Forum)
by
jdixon
on 3/8/2006
Re: TreeView populateondemand very slow
You can check the image theory by turning the images off and setting the selectionaction for the nodes to selectExpand (so you can still expand nodes - without images though). You may be seeing the speed increase as you are no longer populatingOnDemand - you can tell by looking at the link of a node (hovering over it and looking at the IE status bar) and if it says 'toggleNode' population has already happened. I do like Scott's debug theory as well. JD
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
jdixon
on 3/1/2006
Re: Treeview Width Attribute Ignored in Firefox
Not sure if it solves your problem but setting nodeWrap=true on the tree does work in firefox. As well as tvTest.NodeStyle.Width = 400; I will find out if this is a bug in us and log it. Thanks for alerting us. JD
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
jdixon
on 2/23/2006
Re: Subclassing TreeNode
Fredrik has a great blog article on how to do this: http://fredrik.nsquared2.com/viewpost.aspx?PostID=299 HTH JD
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
jdixon
on 2/23/2006
Page 1 of 44 (436 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
How it works: Active Directory Rights Management Services
Channel 9:
Inside Windows 7: Recovering Windows from System Degradation and Boot Failures
Channel 9:
Ping 39: Chrome is here, Dancing in MS Stores, Iphone & Bing
ASP.NET:
Building Twitter Search using the ASP.NET Ajax Library Beta – Part 1
Silverlight:
Using Azure as a Silverlight Streaming replacement
Silverlight:
Building extensible Silverlight applications with MEF
TechNet Edge:
Joachim Nässlander on Live Migration
ASP.NET:
T4MVC 2.6: MVC 2 Areas support
ASP.NET:
Script# Update - v0.5.5.0
Channel 10:
Difference between DirectX 10 and DirectX 11
Channel 10:
WHS Power Pack 3 Arrives
Channel 10:
ASUS Brings GUI to BIOS
ASP.NET:
Microsoft AJAX CDN – Now with SSL Support
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
ASP.NET:
PDC09 Talk: Building Amazing Business Applications with Silverlight 4, RIA Services and Visual Studio 2010 – Now in Visual Basic!!
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online