473,386 Members | 1,758 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Getting a reference to a DataList fails

I have to get a reference to the DataList in the following code and don't
know how to do it. Any ideas?

<asp:Wizard ID="CreateContractWizard" runat="server" ActiveStepIndex="0"
CancelButtonType="Link" CancelDestinationPageUrl="~/Admin/index.aspx"
DisplayCancelButton="True" FinishCompleteButtonText="Create contract"
FinishCompleteButtonType="Link"
FinishDestinationPageUrl="~/Admin/index.aspx"
FinishPreviousButtonType="Link" SkipLinkText="" StartNextButtonType="Link"
StepNextButtonType="Link" StepPreviousButtonType="Link" Width="100%"
CssClass="NumberedList" EnableViewState="False">

<SideBarTemplate>
<!-- The following sidebar is currently used. -->

<div class="DivAsHeaderText" id="WizardSidebarDiv">

Contract creation steps.

</div>

<ol class="NumberedList">

<asp:DataList ID="SideBarList" runat="server">

<ItemTemplate>

<li><asp:LinkButton ID="SideBarButton" runat="server"></asp:LinkButton></li>

</ItemTemplate>

<SelectedItemStyle Font-Bold="True" />

</asp:DataList>

</ol>

</SideBarTemplate>

<!-- Wizard content -->

</asp:Wizard>

Jun 27 '08 #1
0 682

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: olle | last post by:
Hi everyone. Beging a newbee to asp.net and used to work with traditional asp I have one problem working with a datalist. 1/ I make a dataset as as session variable like session("employees") 2/...
2
by: CDWaddell | last post by:
I have the following cod private void btnUpdate_Click(object sender, System.EventArgs e TextBox tbMembers = new TextBox() tbMembers = (TextBox) dlClubs.FindControl("tbMembers") string...
6
by: tshad | last post by:
I need to get to a status label I have on my footer section of my datalist. There is no event happening that would go to the footer. I am just doing some processing and want to update the label...
1
by: needin4mation | last post by:
Hi, I have a datalist. In this datalist I have a datagrid. The datalist is the master. The datagrid is the detail. It works fine. I populate the datagrid inside of the datalist using the...
4
by: Nathan Sokalski | last post by:
I have a DataList that has an Button as one of the controls in it's ItemTemplate. The Button has a CommandName="delete" attribute, but when I click it the DeleteCommand event doesn't even get...
1
by: David | last post by:
Hi, This one appears a little strange to me. Here is the scenario. I load a datalist the first time a page is run. The page has a !IsPostback and the datalist gets loaded at this point. I...
4
by: bushi | last post by:
hi ! i have following code to display some text on a web form,after getting it from database. <asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1"> <ItemTemplate>...
0
by: Andy B | last post by:
I have to get a reference to the DataList in the following code and don't know how to do it. Any ideas? <asp:Wizard ID="CreateContractWizard" runat="server" ActiveStepIndex="0"...
1
by: Andy B | last post by:
I have this code: <asp:DataList id="NewsList" runat="server"> <HeaderTemplate> News list </HeaderTemplate> <ItemTemplate> <!-- news article code goes here --> </ItemTemplate>...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.