displaying session value in formview?
I have a session object (I.e. Session("message")) passed on from the first web page to the second web page. In the second page I have a formview object. For formatting reason I would like to display the session value WITHIN the formview. All other values in the formview are drawn from database via a sql s... 18 May 2010 21:26
AJAX Control Toolkit
Hi, I have Microsoft Visual Studio 2008 and having problems with the AJAX Control Toolkit I have downloaded and installed ASPAJAXExtSetup.msi and ASPNETAJAXVS2008.msi. I also downloaded the AJAX Control Toolkit, unblocked it, extracted it following the instructions on http://www.asp.net/ajaxlibrary/act.ashx ... 19 May 2010 06:05
I can't get my Treeiew to pay attention to my CssClass.
I can't get my Treeiew to pay attention to my CssClass. I even used the following: <asp:TreeView ShowCheckBoxes="None" ShowExpandCollapse="false" ID="TreeView1" runat="server" DataSourceID="SiteMapDataSource2" CssClass="MenuStaticq" HoverNodeStyle-CssClass="MenuStaticq" LeafNodeStyle-CssClass="MenuStati... 18 May 2010 14:48
Checking/unchecking all checkboxes in the one column of the gridview
Label Control Doesn't HTML-Encode?
I'm using a GridView control with a TemplateField column. It works fine except I see the text is not HTML-encoded. Here's the column template: <asp:TemplateField HeaderText="Title" SortExpression="ActTitle"> <ItemTemplate> <asp:HyperLink ID="lnkActivity" runat="server" > <asp:Label ID="Label1" runat="s... 17 May 2010 22:24
Control contents disappear after postback
I have a VB2008 website with, among others, 3 dropdownlists. Two of these are autopostback and unbound, ddlFuel1a and ddlFormulation1. Whenever I click on any autopostback control, the entire content of both of these controls is deleted. Other than the Imports and Inherits lines, the following is the entirety of ... 25 May 2010 17:59
expressions in report in .new
I am working with a report (.rdlc) in visual studio 2010 with Report Viewer. All is working well, except that there is one thing I haven't been able to locate the syntax on. I have a subtotal of count ( [Sum(CountRow)] ) and a subtotal of elapsed time ( [Sum(CurrentElapsedTime)] ), both of which display corre... 19 May 2010 03:55
why not ValidationGroup prop only available on Validators? How a control participated in multiple group?
I see both TextBox and RequiredFieldValidator has ValidationGroup property, what does it mean for a TextBox has a ValidationGroup? Is it always validated by some kine of Validator? So shouldn't only the Validators has ValidationGroup property? Another issues is how to make a control, like a textbox to be valid... 17 May 2010 13:33
How to define, at run-time, the master to be used by a page?
I have realy two websites in one host folder. To get to one use Default1.aspx to get to the other use Default2.aspx. Default1 and all the pages that it's menu goes to uses One.master. Default2 and all the pages that it's menu goes to uses Two.master. However, there are some pages that should be available from... 19 May 2010 12:42
drop list question
I got a drop down list which store the company name my aim is when user select the item from the drop down list, It will show on the label I try serveral method, which seems didn't action. Any way to do ? Thanks in advance Private Sub ddlIssueCompanyb_SelectedIndexChanged(ByVal sender As Object, ByVal... 18 May 2010 02:46