Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
72 views
Hello,

I am trying to implement the following custom filter: rather than looking for "Contains", that can return irrelevant results, it would look for "Contains Whole Word Only" through that specific column.
Please advise.

Regards,
M.R.
M. R.
Top achievements
Rank 1
 answered on 01 Aug 2012
4 answers
196 views
Dear telerik support,
hi
i have a problem with RadMultiPageof a tabstrip and this is it:
im loading 2 RadMultiPages with different content and the contents have different height 
if i set the the height of  RadMultiPage equal to my bigger content the i have a really bad white space in my second tab
and if set the height to the smaller one the bigger content mixes into other part of page 

how can i change the size of RadMultiPage (or actually set size for each RadPageView ) so that i dont have white space or mixing blocks

i know maybe i should use update panel but i appreciate if you show me how can i do it 

Best regards
Nencho
Telerik team
 answered on 01 Aug 2012
2 answers
120 views
I have a tabbed dialog with a pair of RadListBox controls with transfer enabled where I am using ClientChanges to determine what the user has done.  This works great for the normal case, however in the situation where the user has made a mistake (on another tab) and the dialog posted to the server and returned without saving and the dialog showing a validation error (with focus on the tab where the error was made) things are very broken.  When I return to the tab the RadListBox controls continue to show the proper items, but have clearly lost the change list so when the user fixes whatever was wrong (that caused the validation to fail) and resubmits the dialog no changes are seen on the server side (ClientChanges is empty).  I'm not sure how to fix this as the user has no indication that anything is wrong and the server has no indication that anything is wrong.  The user could make any change in the list boxes including undoing the changes they made prior to the previous submission, so just storing the ClientChanges change list on the server would not work. 

Is this just a bug in the list box control?  Is there something I should be doing that I have not done? 

Thanks for any help,

Scott
Dimitar Terziev
Telerik team
 answered on 01 Aug 2012
1 answer
109 views
Does anyone have a sample/example for the following situation?  I looked at the demos and can see parts here and there but still some gaps I can't seem to fill.

Here is the scenario:
I have a work order screen with some header information (ie work order #, start date, product, etc) and then below that a RadGrid with a list of some work order details for tracking scrap material generated while processing that work order. 

In this case I would like the use case to be the following:
  1. User selects work order from a search screen (already have this so not a big deal)
  2. When the scenario screen opens, I want the header and all grid row items (2 to 5 rows typically) to be in edit mode by default (ie AllowMultiRowEdit=true) with InLine edits all in edit mode.
  3. Instead of each grid row having it's own Update / Cancel, I would rather hide that and have a single Save/Cancel at the top of the screen. 

I have looked at the Kendo solution, however we would prefer to use the RadGrid solution if possible.
Thanks,
Shane
Eyup
Telerik team
 answered on 01 Aug 2012
1 answer
184 views
I am having trouble when resizing columns. I think it has to do with setting the filtering textbox widths on item rendering, but, I have to do this or the filtering textboxes do not fit within the columns (see filterboxnotfixed.gif attached).

When the grid first appears the columns and filter row matchup with the data table columns (see before.gif attached), however, when I go to resize column 3 everything gets messy (see after.gif attached).

Do you have any suggestions on how to resize the filter textboxes when column resizing occurs?

protected void RadGridAggressiveMatches_ItemCreated(object sender, GridItemEventArgs e)

{

if (e.Item is GridFilteringItem)

{

GridFilteringItem filteringItem = e.Item as GridFilteringItem;

 //set dimensions for the filter textbox
TextBox box = filteringItem["Column1"].Controls[0] as TextBox;
box.Width = Unit.Pixel(50);

box = filteringItem["Column2"].Controls[0] as TextBox

box.Width = Unit.Pixel(50);

box = filteringItem["Column3"].Controls[0] as TextBox;

box.Width = Unit.Pixel(175);

box = filteringItem["Column4"].Controls[0] as TextBox;

box.Width = Unit.Pixel(175);

box = filteringItem["Column5"].Controls[0] as TextBox;

box.Width = Unit.Pixel(175);

box = filteringItem["Column6"].Controls[0] as TextBox;

box.Width = Unit.Pixel(175);

box = filteringItem["Column7"].Controls[0] as TextBox;

box.Width = Unit.Pixel(15);

box = filteringItem["Column8"].Controls[0] as TextBox;

box.Width = Unit.Pixel(45);

}

}

 
<telerik:RadGrid ID="RadGridAggressiveMatches" runat="server" Width="1100px" Height="250px" DataMember="Aggressive Members"

 GridLines="None"

 AllowSorting="True"

 ShowFooter="True"

 Skin="Office2007"

 AutoGenerateColumns="False"

 AllowFilteringByColumn="True"

 onitemcreated="RadGridAggressiveMatches_ItemCreated"

 onselectedindexchanged="RadGridAggressiveMatches_SelectedIndexChanged"

 onsortcommand="RadGridAggressiveMatches_SortCommand"

 onneeddatasource="RadGridAggressiveMatches_NeedDataSource" >

 <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True" EnablePostBackOnRowClick="true">

 <Selecting AllowRowSelect="True" />  

 <Scrolling AllowScroll="true" />

 <Resizing AllowColumnResize="true" AllowRowResize="true" ResizeGridOnColumnResize="false" />

 </ClientSettings>

 <MasterTableView TableLayout="Fixed" AllowFilteringByColumn="true" >

 <Columns>

 <telerik:GridBoundColumn UniqueName="Column1" DataField="Column1" HeaderText="Column 1" DataType="System.Int32"

 SortExpression="Column1" AllowFiltering="true" AutoPostBackOnFilter="false">

 <HeaderStyle Width="75px" />

 <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"

 Font-Strikeout="False" Font-Underline="False" Wrap="False" />

 </telerik:GridBoundColumn>

 <telerik:GridBoundColumn UniqueName="Column2" DataField="Column2" HeaderText="Column 2" DataType="System.Int32" SortExpression="Column2">
<HeaderStyle Width="75px" />
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"

 Font-Strikeout="False" Font-Underline="False" Wrap="False" />

 </telerik:GridBoundColumn>

 <telerik:GridBoundColumn UniqueName="Column3" DataField="Column3" HeaderText="Column 3" DataType="System.String"

 SortExpression="Column3">

 <HeaderStyle Width="200px" />

 <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"

 Font-Strikeout="False" Font-Underline="False" Wrap="False" />

 </telerik:GridBoundColumn>

 <telerik:GridBoundColumn UniqueName="Column4" DataField="Column4" HeaderText="Column 4" DataType="System.String"

 SortExpression="Column4">

 <HeaderStyle Width="200px" />

 <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"

 Font-Strikeout="False" Font-Underline="False" Wrap="False" />

 </telerik:GridBoundColumn>

 <telerik:GridBoundColumn UniqueName="Column5" DataField="Column5" HeaderText="Column 5" DataType="System.String" SortExpression="Column5">

 <HeaderStyle Width="200px" />

 <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"

 Font-Strikeout="False" Font-Underline="False" Wrap="False" />

 </telerik:GridBoundColumn>

 <telerik:GridBoundColumn UniqueName="Column6" DataField="Column6" HeaderText="Column 6" DataType="System.String" SortExpression="Column6">

 <HeaderStyle Width="200px" />

 <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"

 Font-Strikeout="False" Font-Underline="False" Wrap="False" />

 </telerik:GridBoundColumn>

 <telerik:GridBoundColumn UniqueName="Column7" DataField="Column7" HeaderText="Col 7" DataType="System.Int32" SortExpression="Column7">

 <HeaderStyle Width="40px" />

 <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"

 Font-Strikeout="False" Font-Underline="False" Wrap="False" />

 </telerik:GridBoundColumn>

 <telerik:GridTemplateColumn UniqueName="Column8" HeaderText="Column 8" SortExpression="Column8">

 <HeaderStyle Width="70px" />

 <ItemTemplate>

 <asp:RadioButtonList ID="RadionButtonListDecision" runat="server" RepeatDirection="Vertical">

 <asp:ListItem Value="1" Text="Yes"></asp:ListItem>

 <asp:ListItem Value="2" Text="No"></asp:ListItem>

 </asp:RadioButtonList>

 </ItemTemplate>

 </telerik:GridTemplateColumn>

 </Columns>

 </MasterTableView>

 <FilterMenu Skin="Office2007" EnableTheming="True">

 <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>

 </FilterMenu>

 </telerik:RadGrid>

Eyup
Telerik team
 answered on 01 Aug 2012
1 answer
65 views
We attempting to use the Grid and Editor in a similar manner as demonstrated in the Rad Gird Demo  'Save in Database'. http://demos.telerik.com/aspnet-ajax/editor/examples/saveindatabase/defaultcs.aspx   For the most part the code works within our asp.net project excepting the Grid does not perform as expected.  <see attachment>  The user scenario;  The user selects 'edit' of an item as in Panel A of the attachment, the user abandons the edits by doing nothing to the the item,  The user selects 'edit' of the second item and the RadGrid renders an incomplete view of the items as shown in Panel B of the attachment.   Any suggestions are appreciated.
 Cheers,
Rumen
Telerik team
 answered on 01 Aug 2012
1 answer
203 views
hi
i want to create form builder in webForms .
how can i make this with form Element in Editor ?
how can I access to form elements in codeBehind C#?
I want to insert to Database from Elements .
Rumen
Telerik team
 answered on 01 Aug 2012
1 answer
126 views
Hi all,
      I need the primary key value in update command. Quick help will be appreciated.
thanks
Savyo
Princy
Top achievements
Rank 2
 answered on 01 Aug 2012
2 answers
84 views
I need to be able to serialize a collection of EditorFormatSet objects, but the class is not marked [serializable]. I suspect I will have the same problem with EditorFormatSetAttribute.

Can this be changed? Can you think of a workaround? (I tried using a wrapper class, but it didn't help)

I am using 2012.1.411.40
Dan Ehrmann
Top achievements
Rank 1
 answered on 01 Aug 2012
2 answers
170 views
Is there any way to remove of customize the summary attribute that is included with the HTML <table> that wraps the combobox code? The default value (summary="combobox") is a bit too vague and confusing for screen readers.  I am currently using the web UI components from 2008 (e.g. FILEVERSION 2008, 2, 826, 20).

Thanks.
Ivan Zhekov
Telerik team
 answered on 01 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?