Hi,
As my previous question didn't seem to have much popularity, I decided to change completely the way I approached the problem. Now my issue is that I still have TABLE1 with a foreign key FK, but what I want to do now is have the FK column in the GridView display Dropdown Lists. The Dropdown Lists should have their Text property bound...
Hello all. My issue is similar to http://stackoverflow.com/questions/2613627/how-to-use-the-value-of-a-selected-value-from-a-dropdownlist-populated-with-ajax but I am using ASP.NET, not PHP.
I have a dropdownlist that is populated by another dropdownlist's current value through ajax. So if DDL A is 'NY', DDL B is populated with differe...
Trying to get the findcontrol to work so I can set the default value of the dropdownlist I have in a template field, but I'm having no luck. Am I doing something wrong?
Dim drdList As DropDownList
For Each row As GridViewRow In gridviewComputer.Rows
drdList = gridviewComputer.Rows(e.NewEditIndex).FindControl("statusDropDown...
I want to print series in one cell of gridview sccording to condtiotion. I have used condition from ternary operator like
<%# Eval("Sequence").ToString()=="R" ? "Sequence1" : "Sequence2" %>
but i want to print series instead of string Sequence1 and Sequence2 by loop. Have any idea.
...
I'm looking for a solution on how to combine two widgets. I'm taling about the Tree widget and the Grid widget in such way that f.e. every node of tree represents a database table and after expanding it shows record in a grid widget. Is there a way to combine those two in one ?
...
I am trying to port an existing iPhone application to android. I wish to have a button scroll into view at the bottom of a GridView to enable the user to load more data from the server. Presently, my solution simply fixes a button at the bottom of the screen instead of having it scroll into view.
Here is my layout code:
<LinearLayout ...
Good day all,
I am having problems trying to use FindControl with my gridview. I am generating the gridview columns using the ITemplate function. This generates a bunch of textbox fields for me that the user has to input some data.
The number of columns vary depending on user requirements, so I have to generate the grid dynamically.
I...
I'm currently using IPagedList to efficiently page my data.
When using with a GridView I can set the page index in the GridView.PageIndexChanging event and rebind the grid.
The problem is, the GridView.PageCount property is readonly so the default pager only displays 1 page.
I suppose I'm going to have to roll my own GridView implemen...
I am exporting a gridview to excel, using .Net 4.0 in a web application, on page load and need for the file to be generated and then the page to be redirected to the calling page. I am running into issues because my code to export to excel is as follows:
gvSummary.Style.Add("font-size", ".6em");
Response.Clear();
string attachm...
Hi I have a gridview:
<asp:GridView ID="gridData" runat="server" AutoGenerateColumns="false" CellPadding="3" AllowSorting="true" CssClass="CartContentTable" GridLines="horizontal" Width="100%" OnDataBound="addLabelsWhereNeeded">
<ItemTemplate>
<asp:HiddenField ID="hdField" runat="server" Value='<%# Eval("CartItemGuid")%>' ...
Hello all,
I am facing an issue with the MultiGroupingView extension that is used to get more than one level of grouping on grid data...I am using the version posted on this thread. the thing is, whenever i move the mouse over any row on the resulting grid, this error occurs on FireBug:
gs[i].id.split("gp-")[1] is undefined
Line 4...
Hello,
I've add "FilterRow" plugin to a GridPanel with PagingToolBar. The Grid works good except for this issue:
if I try to sort or filter a column the grid generate this POST variables --> sort, dir and all my filters enabled.
Instead if I try to go to next page this POST variables --> sort, dir, start, limit.
If I try to scroll pages...
I have a GridView inside of a LinearLayout inside of a ScrollView that pages in data from the server. Beneath the GridView is a button to load more data. My GridView will have an ultimate height that is larger than the screen. If I set the height of my GridView to either wrap_content or parent_fill, it sizes itself to the exact available...
Hi,
I have a page with a gridview that is populated from a sql. The table on the sql is setup as follows.
sopid, Type, DisplayOrder, Deleted.
1 test1 1 False
2 test2 2 False
What i want to do is have a checkbox on the left hand side of the grid where if i check test1 and test2 for example it outputs t...
Hello,
I am working with Gridview control and I am also adding radio button to each row in ASP .NET.
Here is something that I would like to accomplish but I am not sure how this should done. The problem is that I have add a muliple datarow insie of the each gridview. Something like below.
So, some cases I have add a row with two row...
Looked to various posts on here but couldn't find one quite like it, I know this is going to be something small but I just can't figure it out.
I am using a gridview inside an update panel. The gridview is using the auto generated delete column converted into a templatefield column. Here is the code:
<asp:GridView ID="gvFiles" runat="s...
Please help me out
I am having a Gridview named GridViewGender with a RadioButtonList with it
Inline code is
<asp:GridView ID="GridViewGender" runat="server"
AutoGenerateColumns="False"
Width="494px" DataKeyNames="ren">
<Columns>
<asp:BoundField DataField="ren" HeaderText="Items" />
<asp:Templat...
I have a gridview control that extends the default gridview. I have added an attribute called "hiddenSelectedValues" to to the gridview during the "PreRender" event and I have a private variable that points to the value of that attribute.
I have some javascript code that modifies the value of this attribute based on the user checking o...
How should I bind my collection of T objects which implements an interface and adds more properties to a DataGrid? Here is an example:
// interface
public interface IPerson{
[DisplayName(@"FullName")]
string Name{ get; }
}
// implementation
public class Employee : IPerson{
[DisplayName(@"Net Salary")]
public int Salary {
get { ret...
I have a ListView and implemented Grouping with the code below in XAML,
<ListView.GroupStyle>
<GroupStyle>
<GroupStyle.ContainerStyle>
<Style TargetType="{x:Type GroupItem}">
<Setter Property="Margin" Value="0,...