Questions tagged [itemtemplate]

A WPF/Xaml DataTemplate used to display each item in an ItemsControl.

A WPF/Xaml DataTemplate used to display each item in an ItemsControl.

555 questions
0
votes
2 answers

GridView item template linkbutton catch on code behind

I have a gridview in my asp.net project and i used item template like;
Cenk Işık
  • 85
  • 1
  • 9
0
votes
1 answer

how to clear generated columns without clearing ItemTemplate fields

i have a grid views that generated columns through the code, and also ItemTemplate field from aspx, how can i clear columns generated from the code without clearing the template fields? code from my previous post TemplateField templateField = new…
Noora
  • 319
  • 3
  • 10
  • 26
0
votes
1 answer

Dynamically-generated Columns in ItemTemplate for Data-bound ListView

I have a page in my ASP.NET web application that is essentially a tool for generating ad-hoc reports. Users set values among a multitude of critera and then submit those to retrieve a result set. The SQL needed to get the result is generated at…
Michael Doleman
  • 522
  • 2
  • 9
  • 24
0
votes
1 answer

Set image in itemTpl dynamically in Sencha Touch List

I have to set an image with text in a row of my List. But image is to be chosen at runtime. Here is my Store: Ext.define('MyApp.model.Sample', { extend: 'Ext.data.Model', config: { fields: [ {…
Zaraki
  • 3,720
  • 33
  • 39
0
votes
1 answer

Telerik : radgrid onItemDatabound event

We have a RadGrid with some telerik:GridTemplateColumns. We get a datasource and bind the grid. For first page grid behavour is consistent. But after page change, other columns in grid gets new values but itemtemplate columns persist the values from…
Chat
  • 69
  • 2
  • 3
  • 12
0
votes
1 answer

VC++ custom item template doesn't show up

I tried making an item template. In the zip I put the files module.cpp, module.h, module.ico and module.vstemplate. The vstemplate file is:
Stefan Monov
  • 11,332
  • 10
  • 63
  • 120
0
votes
1 answer

Access named item inside ItemTemplate

I have the following scenario:
Jerry Nixon
  • 31,313
  • 14
  • 117
  • 233
0
votes
1 answer

How to trigger a datagrid event when a checkbox is checked?

Inside the data grid in the item template the button was replaced with check box for more feasibility and if I click the button, the panel is displayed accordingly and the panel elements are also displayed along with its contents. Now my requirement…
0
votes
1 answer

asp.net textbox in ItemTemplate, update sqldatasource

I am a beginner in asp.net. I want to update the data in the database. But nothing happens. I used google and found that the problem can be solved through the ObjectDataSource, but I'm not sure.
NikolayS
  • 73
  • 1
  • 6
0
votes
1 answer

How to toggle a gridview templated asp button text using jquery or javascript

I have a gridview where one column is an "Add" / "Remove" asp:button which I would like to toggle the text when clicked with either jquery or javascript. I have not been able to locate a good example for this. Here is my markup for the template…
0
votes
2 answers

Silverlight MVVM - Get reference to ListBoxItem from View codebehind based on a button's click event

Ok, I have the folllowing, XAML markup in a Silverlight MVVM Light app. This is part of the view. In the click event of the btnClearBodyMark in the view's codebehind I've tried traversing the tree upward using the .Parent properties, first parent…
mkelley82
  • 177
  • 1
  • 13
0
votes
1 answer

What Does this MSDN Sample Code Do? - ItemsControl.ItemTemplate

This is a XAML code sample taken from the MSDN library article for the ItemsControl.ItemTemplate property:
Giffyguy
  • 20,378
  • 34
  • 97
  • 168
0
votes
0 answers

Item template not displaying replacements

I'm building a custom Class item template for one of my clients, who will be taking over the development from me once I have completed my part of the development. In the template, I want to pull through the registered organization but this is not…
JadedEric
  • 1,943
  • 2
  • 26
  • 49
0
votes
1 answer

Canvas.Top not rendering

I have a canvas in an itemControl and for the data template I am using ellipses. The position of each ellipse represents a time of day between 6am and 11pm. I am binding that value based on the size on of the canvas and where the time assigned to…
joshwl2003
  • 463
  • 1
  • 7
  • 16
-1
votes
1 answer

ASP DOt NET itemTemplate in GridView

How to add Textbox in gridview and how to access to it and perform some calculations like Serno,Name,ServAmnt,Qty,Disc,netamt netamt=servamnt*qty*discount
Rizwan
  • 9
  • 2
  • 6
1 2 3
36
37