Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    ASP.NET


Advertisements:










Web Forms :: How To Get The Text In A TextBox That Is Inside An InsertItemTemplate In ListView Control


I have ListView and Iinside InsertItemTemplate that has two control: TextBox and Button.

If User click on the Button OnClick event is raised but I don't see how I can get the TextBox.Text property.

I have tried

TextBox
t = (TextBox)ListView1.FindControl("txtAddMessege");


View 3 Replies (Posted: May 27, 2010 09:27 PM)

Sponsored Links:

Related Forum Messages For ASP.NET category:
Forms Data Controls :: Want To Find Textbox Inside InsertItemTemplate In Listview?
want to find textbox inside InsertItemTemplate in listview there are two list view want to find textbox in the second listview that is inside listview i used that code but told me that thereis error.

Dimlv As ListView =
DirectCast(Me.FindControl("lv"), ListView)Dim
lv2 As ListView =
DirectCast(lv.Items(lv.SelectedIndex).FindControl("lv2"), ListView)Dim
txt As TextBox =
CType(lv2.Items(lv2.SelectedIndex).FindControl("txtCode"), TextBox)'
If txt Is
Nothing Then
txt.Text = dr.AssetCode

Posted: Nov 08, 2010 04:31 PM

View 5 Replies!   View Related
Finding A Textbox Inside InsertItemTemplate In Listview?
I have tried this but it does not work:

Dim txt As TextBox = CType(lv2.Items(lv2.SelectedIndex) _
.FindControl("txtCode"), TextBox)

Posted: Nov 8 10 at 16:34

View 1 Replies!   View Related
Forms Data Controls :: How To Datbind A Listview Which Is Inside Another Listview InsertItemTemplate
I try to datbind a listview which is inside another listview InsertItemTemplate.

[Code]....

I'm binding the listivew in the parent listview onitemcreated events. I receive the error Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control.

Posted: Sep 30, 2010 03:52 AM

View 4 Replies!   View Related
Forms Data Controls :: Bind() Inside Templated User Control Inside InsertItemTemplate Does Not Bubble Values?
I have a ObjectDataSource and a ListView referencing it.

I have created a Templated User Control (see:
http://msdn.microsoft.com/en-us/library/36574bf6.aspx) and placed it in the ListView'sInsertItemTemplate
It has one template <ContentTemplate>. Inside that template, I've defined a couple of server controls with their properties = '<%# Bind("colName")#>'.

See below:

[Code]......

Posted: Nov 10, 2010 07:11 AM

View 8 Replies!   View Related
Forms Data Controls :: How To Access To Data Inside InsertItemTemplate Of A ListView
I've googled around for a couple of days now and tried different solutions posted here and there, but nothing has worked so far. Therefore I'm forced to write a new thread about this subject.

I'm working on a solution containing nested listviews. The top listview lists different projects, and in each project a nested listview lists images from that specific project using a nested sqldatasource. Inside the nested listview I want the user to be able to add new images, and i'm using the InsertItemTemplate of the nested listview. When inserting a new image, the project need to be specified, as the project is a foreign key in my image database. The problem is that in my InsertItemTemplate, "Bind" and "Eval" does not work (I believe this is by design). Therefore, when adding the new image I don't have access to the project. I'm using the ItemInserting event of the nested listview to upload the image, and the optimal solution would be to have access to the project in this event and just pass it on as a parameter.

Posted: Jun 21, 2010 02:41 PM

View 7 Replies!   View Related
AJAX :: UpdatePanel PostBack Trigger - Control Inside InsertItemTemplate?
Does anyone have any knowledge or useful links regarding this? In my scenario, there is a fileUpload inside the InsertItemTempalte of a detailsView which is (well was, not anymore) contained inside an UpdatePanel. I've ascertained that the fileupload needs a full postback, so I tried to set up a post back element in
the triggers. However the controlID references a file upload in the InsertItemTemplate. when I tried to compile, the controlID was unknown. It's no big deal if the UpdatePanel gets scrapped. Nice to know if it can be done, though.

Posted: Dec 31, 2009 04:59 AM

View 2 Replies!   View Related
AJAX :: Placing An Editor-control Inside A Formview-insertitemtemplate Does Not Work
placing an editor-control inside a formview-insertitemtemplate does not work. I simply replaces the textbox with the editor-control but it even does not load properly.

Posted: Dec 22, 2009 09:38 AM

View 1 Replies!   View Related
Forms Data Controls :: ListView DropDownList In EditItem And InsertItemTemplate
I have the following in an editItemTemplate of a ListView control that is powered by a LinqDataSource (and it works great) :

<tr>
<th>status</th>
<td>
<asp:DropDownList
ID="ddlInsertTuneStatus"
runat="server"
DataSourceID="linqTuneStatus"
DataTextField="status"
DataValueField="statusKey"
selectedvalue='<%#Bind("statusKey")%>'>
</asp:DropDownList>
</td>
</tr>

when Iput the same thing in an insertItemTemplage I get the following: Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control.If I take out the selectedValue property, the status field is not populated. What am I missing? The following post ([URL]) references this but I didn't see any followup and, indeed, it does not work as follows:

Protected Sub lvTunes_ItemInserting(ByVal sender
As Object,
ByVal e As ListViewInsertEventArgs)
Dim ddl As DropDownList =
TryCast(e.Item.FindControl("ddlInsertTuneStatus"), DropDownList)
e.Values("statusKey") = (Convert.ToInt32(ddl.SelectedValue))
End Sub

Posted: Mar 06, 2008 04:46 PM

View 2 Replies!   View Related
Forms Data Controls :: Populating A DropDownList In A ListView InsertItemTemplate
I have the following ListView (extra code removed for clarity):

<asp:ListView ID="lvParticipants" runat="server" DataSource='<%# Eval("Participants") %>' >
<EditItemTemplate>
<asp:DropDownList ID="ddlCountry" runat="server" SelectedValue='<%# Eval("Country") %>'
DataSource="<%# GetCountries() %>" DataTextField="Text" DataValueField="Value" />
</EditItemTemplate>
<InsertItemTemplate>
<asp:DropDownList ID="ddlCountry" runat="server" SelectedValue='<%# Eval("Country") %>'
DataSource="<%# GetCountries() %>" DataTextField="Text" DataValueField="Value" />
</InsertItemTemplate>
</asp:ListView>

The Insert row in the ListView has an empty DropDownList and GetCountries() is not called. However, if I click the Edit button on an existing row, GetCountries() is called twice (not sure why) and the DropDownList is properly populated. Why isn't the InsertItemTemplate DropDownList getting populated?

Posted: Jan 19, 2010 10:01 PM

View 9 Replies!   View Related
Forms Data Controls :: Not Finding DropDownList In ListView InsertItemTemplate
I have a dropdown list in ListView control in InsertItem Template. I want to bind the DropDownList when I Click on Link. I want to bind it in CodeBehind not to use Datasource. I tryed lot but not finding the DropDownList. See My Code....

<InsertItemTemplate>
<tr>
<td colspan="7">
</td>
</tr>
<tr>
<td colspan="7">
<table border="0">
<tr>
<td> </td>
<td>
Sector</td>
<td>:</td>
<td align="left">
<asp:DropDownList ID="DropDnSector" runat="server" ></asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" Display="Dynamic"
ControlToValidate="DropDnSector" SetFocusOnError="true"
ValidationGroup="vgUpdate">*
</asp:RequiredFieldValidator>
</td>
</tr>
</table>
</td>
</tr>
</InsertItemTemplate>
lnkNew is my linkbutton outside the ListView
Code Behind:
Protected Sub lnkNew_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lnkNew.Click
Try
lvSubscription.InsertItemPosition = InsertItemPosition.LastItem
lvSubscription.EditIndex = -1
BindDropDownList()
fn_ShowSubscriptionLevel(fn_BindSubscriptionLevelEvents)
Catch ex As Exception
fn_ShowMessage(ex)
End Try
End Sub
------------------------------------------------------------------------------------------------------------------
Protected Sub BindDropDownList()
Try
Dim objSector As IEnumerable(Of SystemBuilder.SystemBuilder_Sector)
Dim objSubscriptionLevel As SystemBuilder.SystemBuilder_SubscriptionLevel
Dim DDLSectorctrl As DropDownList
objSector = CSectorDB.CSectorInstance().GetAllSector()
If (lvSubscription.InsertItemPosition = InsertItemPosition.FirstItem Or lvSubscription.InsertItemPosition = InsertItemPosition.LastItem) Then
DDLSectorctrl = CType(lvSubscription.InsertItem.FindControl("DropDnSector"), DropDownList)
If DDLSectorctrl IsNot Nothing Then
DDLSectorctrl.Items.Add(New ListItem("--Select--", "0"))
For Each ObjRec As SystemBuilder.SystemBuilder_Sector In objSector
DDLSectorctrl.Items.Add(New ListItem(ObjRec.SectorText.ToString(), ObjRec.SectorID.ToString()))
Next
End If
ElseIf (lvSubscription.EditIndex >= 0) Then
Dim DDLSectorctrl1 As DropDownList
DDLSectorctrl1 = DirectCast(lvSubscription.Items(lvSubscription.EditIndex).FindControl("DropDnSector"), DropDownList)
If DDLSectorctrl1 IsNot Nothing Then
DDLSectorctrl1.Items.Add(New ListItem("--Select--", "0"))
For Each ObjRec As SystemBuilder.SystemBuilder_Sector In objSector
DDLSectorctrl1.Items.Add(New ListItem(ObjRec.SectorText.ToString(), ObjRec.SectorID.ToString()))
Next
objSubscriptionLevel = CSubscriptionLevelsDB.CSubLvlInstance().GetSubscriptionLevelDetailsBySubscrptionID(ViewState("ID"))
If objSubscriptionLevel IsNot Nothing Then
DDLSectorctrl1.SelectedValue = objSubscriptionLevel.SubscriptionID.ToString()
End If
End If
End If
Catch ex As Exception
End Try
End Sub

Posted: Aug 09, 2010 08:15 AM

View 6 Replies!   View Related
Forms Data Controls :: ListView InsertItemTemplate Executes But Nothing Inserted?
Iam using a Listview with InsertItemTemplate bound to a LinqDataSource with a child table in the ORM datacontext. This table has a relationship with a parent table in the OR/M datacontext. The record is to be inserted in the child Table. The parent table is bound to dropDownList in the InsertItemTemplate to provide a user friendly name. Using the ListView ItemInserted event in debug, I can follow the execution and no errors occur BUT no record is inserted. I confirm this by a showing all Table Data in the SQL Mgmnt Studio. The child to parent table seems to becausing the problem because when I delete the relationship in the OR/M .dbml , I am ABLE to insert records. I am using Scott Mitchells' Using ASP.net 3.5 ListView with Data Pager controls: Inserting Data as a model. I can provide code if required, but what is going on with the deleting of the relationship between child and Parent.

Posted: Mar 22, 2010 09:25 PM

View 11 Replies!   View Related
Forms Data Controls :: How To Read CommandArgument From ListView With InsertItemTemplate
I have a ListView and I'm using the option <InsertItemTemplate>. Inside this template I have two control: TextBox and Button.

I'm having tourble in C# to read the CommandArgumentof my button OnCommand event:

What am I doing wrong?

protected void AddComment(object sender , CommandEventArgs e)
{
string Args = e.CommandArgument.ToString();
}
<asp:Button
ID="buttonComment"
OnCommand="AddComment"
CommandArgument='<%#
Eval("MyId")%>'
runat="server"
/>

Posted: Jun 07, 2010 12:43 PM

View 8 Replies!   View Related
Forms Data Controls :: How To Bind DropdownList In InsertItemTemplate Within ListView
I need to bind drop down list inside InsertItemTemplate in ListView.

[Code]....

but method GetData() never calls. How can I bind DropdownList ?

Posted: Mar 30, 2011 05:58 PM

View 6 Replies!   View Related
Forms Data Controls :: Listview - EmptyDataTemplate And InsertItemTemplate Can't Coexist?
Whenever my listview contains an InsertItemTemplate - the EmptyDataTemplate will not display when there are no records returned by the datasource.The microsoft documentation appears to back this up states this:
If the InsertItemPosition property is set to a value other than InsertItemPosition.None, the mptyDataTemplate template is not rendered.

This seems like a silly restriction to place on such a powerful control - has anyone found a workaround so they can show both the Insert template and Empty templates at the same time?

Posted: Aug 20, 2008 09:50 PM

View 3 Replies!   View Related
Forms Data Controls :: How To Access Textbox Inside Of A Listview
Will someone show me how to access a textbox inside of a Listview InsertItemTemplate and EditItemTemplate? I've tried the following and it's not working:

[Code]....

I got this error:Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.

Posted: Oct 05, 2009 08:13 PM

View 25 Replies!   View Related
Forms Data Controls :: How To Access Textbox Inside EditItemTemplate Of ListView
This is my code.

[Code]....

I followed this MSDN tutorial but so far it's not working. Here's the error. Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

[Code]....

Posted: Oct 07, 2009 03:21 PM

View 11 Replies!   View Related
AJAX :: Web User Control Inside Listview Inside Update Panel And Press Button Event Not Work
I have a web user control to display and edit data. This control contains a save button and when i put the uc (user control) on a page and press the button everything works fine. When i put the user control inside a listview (enebling me to edit several items) everything works fine when i press the save button. But here is my problem: if i put the listview (containing my uc) inside an update panel and press the button, the uc page_load event is fired but the buttons click event is not. Ideas anyone?

Posted: Nov 26, 2009 04:16 PM

View 3 Replies!   View Related
AJAX :: Toolkit Watermark Textbox Is Not Displaying The Text Inside The Textbox
[Code]....I am seeing an empty text box watermark css is not applying and the text type first name here is also not getting displayed insde the text box.

Posted: Mar 31, 2011 03:24 PM

View 1 Replies!   View Related
Get A Label's Text Inside A Listview And Then Use It On Another Method?
I have my listview lstResults. Inside it i have the following Label:

[Code]....

But i want to use the variable name on another method.

Posted: Jan 24, 2011 05:42 PM

View 2 Replies!   View Related
Web Forms :: How To Hide The Text Inside The Textbox
i have a textbox anda checkbox. when the user checks the checbox the text inside the textbox should not be visibleto the other user.

how can iachieve this?

Posted: Aug 10, 2010 05:46 AM

View 6 Replies!   View Related
Text Box Inside Gridview / How To Get The TextBox.Text Property
I have a text box inside the ItemTemplate of the GridView. But after entering some text into it and posting the page back it is empty when I try to get the TextBox.Text property.

Why is this? How can I overcome this?

Posted: Feb 27, 2009 06:25 PM

View 4 Replies!   View Related
Web Forms :: Can't Find FileUpload Control Inside ListView
I have a Listviewthat houses a FileUpload control. However, after using findcontrol thenextline of code tries to convert the filename into a stringand produces the familar error object reference not found.

Note: I have used identical code in a formview and it works fine.

Here's my relevent codebehind:

protected void AccessDataSource1_Inserting(object sender, SqlDataSourceCommandEventArgs e)
{
FileUpload FileUpload1 = (FileUpload)ListView1.FindControl("FileUpload1");
string Fupload = FileUpload1.FileName.ToString();
DateTime DateNow = DateTime.Now;
string DateNowSTR = DateNow.ToString();
string NewImageName = DateNowSTR + Fupload;
FileUpload1.SaveAs(Server.MapPath("~//images//" + NewImageName));
e.Command.Parameters["SponLogo"].Value = NewImageName;
}

Posted: Jan 25, 2011 03:56 PM

View 3 Replies!   View Related
AJAX :: DropDownList Don't Work Inside ReorderList InsertItemTemplate ?
In want to have a DropDownList inside the InsertItemTemplate of my ReorderList.

Like this:

<asp:DropDownList ID="NewRecipientsList" runat="server" Width="180px"
DataSourceID="NewRecipientsSrc" DataTextField="UserName" DataValueField="UserId"
SelectedValue='<%# Bind("UserId") %>' />

But I get this error message at runtime: "Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control."

Which I don't understand. Using a TextBox instead works perfectly: <asp:TextBox ID="Test" runat="server" Text='<%# Bind("UserId") %>' />

And using the dropdownlist in other controls, like FormView or DetailsView does work. I can't understand why the combination of ReorderList + DropDownList doesn't work.

Posted: Aug 17, 2006 01:07 PM

View 11 Replies!   View Related
Web Forms :: Find A Label Control Inside The ListView - View1 - Multiview1?
I have some controls that are inside a ListView The ListView is inside a View1The View1 is inside a MultiView1 (You could make a song out of it) How do I find e.g.a Label control inside the ListView.This line of code worked fine until I threw the ListView inside the MultiView

((Label)CartvListView.FindControl("lblSubTotal")).Text = ....

Posted: May 13, 2010 03:43 PM

View 5 Replies!   View Related
Forms Data Controls :: Databind RadioButtonList Control Inside Of ListView?
Is there a way to bind RadioButtonList control inside of a ListView control that is bind to a SqlDataSource control?

Posted: Mar 28, 2011 03:28 AM

View 8 Replies!   View Related
Forms Data Controls :: How To Access Control Inside Nested ListView
I have a RadioButtonList control inside of a nested ListView control InsertTemplate. I need a way to access this control in the nestedListView_ItemInserting method.

Posted: Mar 28, 2011 02:22 PM

View 6 Replies!   View Related
Forms Data Controls :: Manipulate ImageUrl Or Any Other Control Inside ListView?
I have a ListView connected over SqlDataSource control.

Inside my DB Table I have 2 Columns:

Column 1: ItemSent (Bit) TRUE or False and
Column 2: ItemPaid (Bit) TRUE or False.

Now in each row in my ListView I have to display 2 Images depending on Column1 and Column2

This part should be something like this:

If ItemSent = 1 Then
Img1.ImageUrl = "SentOn_png"
Else
Img1.ImageUrl = "SentOff_png"
End If
and same for the 2nd image
If ItemPaid = 1 Then ... ...

Posted: Dec 26, 2008 11:59 AM

View 2 Replies!   View Related
Forms Data Controls :: Access A Control Inside A Listview Itemtemplate?
on my page, there are two listboxes,

[Code]....

Based on the selection of SchoolID in listviewSchools, the ListviewStudents will be filled with the data.

SchoolIDLabel is in the ItemTemplate of the ListviewSchools. The following works for insertitemtemplate

Dim txtTitle As TextBox = CType(ListView1.InsertItem.FindControl("txtTitle"), TextBox), but i can not Access a control inside the ItemTemplate of a listview.

Posted: Mar 29, 2011 05:03 PM

View 3 Replies!   View Related
Forms Data Controls :: Show / Hide Control Inside A Listview?
I have a listview and in each there is a dropdownlist and a textbox. The textbox isinvisible. When Ichange a value on the ddl it fires the SelectedIndexChangedMethod. In here, if the ddl is certain value I want to show the textbox thats on the same row. How do I grab the textbox from inside this method?

Code:

<asp:ListView ID="lvBillingQueue" runat="server" OnItemDataBound="lvBillingQueue_ItemDataBound"
OnPagePropertiesChanging="lvBillingQueue_PagePropertiesChanging" DataKeyNames="ID">
<LayoutTemplate>
<table width="100%" cellspacing="1" cellpadding="3" border="0">

[Code]....

Posted: Aug 08, 2010 03:52 PM

View 18 Replies!   View Related
Forms Data Controls :: How To Access Control Inside ListView During ItemDeleted Method
I'm trying to access some hidden field control during the ListViewi_ItemDeleted method and it's not working. Here's my code.

[Code]....

I would the following error:

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

[Code]....

Posted: Nov 12, 2009 07:33 PM

View 12 Replies!   View Related
Forms Data Controls :: Populating Dropdownlist Inside Listview Control Dynamically?
I have a dropdownlist in EditItemTemplate and InsertItemTemplate which I want it to populate at the runtime while Inserting an item or Editing an item.

I am facing an issue regarding populating a dropdownlist dynamically while in Edit and Insert mode. There are 0 Records in my table and it shows "Empty Data message" in my Listview control. Even the ItemDataBound event does not fire. So I am not able to find the dropdownlist in that listview.

This is my Aspx code which shows only InsertItemTemplate and EditItemTemplate.

[Code]....

Posted: Mar 05, 2010 01:24 PM

View 7 Replies!   View Related
Web Forms :: How To Find Textbox Control Inside DetailsView Control Using Javascript
how tofind Textbox Control inside DetailsView Control Using Javascript, I tried below but gives an error OBject reference not found

document.getElementById('<%=DetailsView1.FindControl("TextBox1").ClientID%>');

Posted: Mar 23, 2010 03:00 PM

View 3 Replies!   View Related
Web Forms :: TexBox Control:Control 'TextBox1' Of Type 'TextBox' Must Be Placed Inside A Form Tag With Runat=s...
I'm getting ERROR for the following code is,

Partial Class Checks
Inherits System.Web.UI.Page
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)[code]...

The error for the above code is,Control 'TextBox1' of type 'TextBox' must be placed inside a form tag with runat=server.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Control 'TextBox1' of type 'TextBox' must be placed inside a form tag with runat=server.

Source Error.[Code]....

Stack Trace.

[HttpException (0x80004005): Control 'TextBox1' of type 'TextBox' must be placed inside a form tag with runat=server.] System.Web.UI.Page.VerifyRenderingInServerForm(Control control) +1997551 System.Web.UI.WebControls.TextBox.AddAttributesToRender(HtmlTextWriter writer) +48 System.Web.UI.WebControls.WebControl.RenderBeginTag(HtmlTextWriter writer) +17 System.Web.UI.WebControls.TextBox.Render(HtmlTextWriter writer) +17 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +12127.42

Posted: Dec 18, 2009 05:42 AM

View 3 Replies!   View Related
Forms Data Controls :: How To Update Text Of A Textbox Placed Inside A Gridview (template) By A Dropdown List
I have atext box placed inside a gridview(template) . I need to update its value by a dropdown list event (Selected Item Changed event)placed in the same gridVew. But The problem is that,I need to update the text box of the same rowthe dropdown list (whose textChange Event haas been fired)

[code]....

Posted: Nov 13, 2010 06:42 PM

View 1 Replies!   View Related
C# - Checkbox Inside Listview Control Using 3.5
when checkbox is unchecked in a listview i need to get a popup window?

Posted: Nov 19 10 at 8:10

View 3 Replies!   View Related
Web Forms :: Get Focus Inside Textbox / Put A Cursor Inside Textbox In Button_click Event?
I have gridview like this:

<gridview id="gv1">
<EmptyDataTemplate>
<asp:textbox id="txt1"/>
<asp:Button ID="btn1" />
</EmptyDataTemplate>
</gridview>

How do i put a cursor inside textbox in Button_click event?

Posted: Apr 30, 2010 03:10 PM

View 5 Replies!   View Related
Forms Data Controls :: Code Finding Textbox In Listview Control?
I have a listview with an EditTemplate. If I have one item in the listview, the following code throws a null exception which is called in the RowEditing event.

[Code]....

It does not throw an error if I have two items in my listview.The other strange thing is that it only throws an error when on a production server, but when I am testing locally, I do not get the error. Does anyone know why this behavior might exist?

Here is EditTemplate part of the markup:

[Code]....

Posted: Oct 02, 2009 07:52 PM

View 2 Replies!   View Related
Forms Data Controls :: Nest One ListView Inside Another ListView?
how to nest one ListView control another that uses SQL DataSource control? For example, the parent ListView1 control uses SqlDataSource1 to display all the Comments. The child ListView2 displays all the responses according each comments by using another SQLDataSource2 control.

Posted: Oct 15, 2009 07:07 PM

View 44 Replies!   View Related
Forms Data Controls :: Textbox Text Inside ItemTemplate In GridView Clears After The Update Button Is Clicked
I have a GridView with two templatefields, one with a DropDownList and the other with a TextBox, both loose their values once I hit the "update" button. Is it any way I can make the controls keep the values?

Posted: Nov 10, 2010 08:23 PM

View 8 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved