Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
211 views
Hi!
I have a combobox with a datasource and on itemdatabound I set the item.text and the item.value, but when trying to filter it doesn't work. The filter works fine when I just type one letter, but after I type another one it tells me that no matches were found. The filter is in "Contains" mode.

Thanks in advance.
Simon
Telerik team
 answered on 15 Mar 2011
2 answers
268 views
Hi.

Is there no easy way to set a GridBoundColumn as required when in edit mode? Just an attribute setting or forcing the length to be greater than zero or something? It would be easier than having to set up edit and item templates everytime.

Thanks
Chris
Chris
Top achievements
Rank 1
 answered on 15 Mar 2011
2 answers
67 views
I'm using a radgrid in a usercontrol which is loaded based on parentpage control event.
Data is loaded to the grid based on buttonClick event inside the user control.
I'm using AjaxManagerProxy in the usercontrol which updates the Grid itself on any grid events.

When I try to sort or filter or group the grid does not return any records.
sirisha
Top achievements
Rank 1
 answered on 15 Mar 2011
1 answer
176 views
Hey community,

I am working with version 2010.3.1109.35 of the RadControls for ASP.NET AJAX. I have a requirement to make a confirmation dialog appear on a grideditcommandcolumn.

For our purposes, we are retooling the edit button to do a delete.

<telerik:GridEditCommandColumn UniqueName="EditCommandColumn" HeaderText="Add/Delete"
    HeaderStyle-Font-Bold
="true" ButtonType="PushButton" EditText="Delete"
        InsertText="Add" HeaderStyle-Width="130"/>

In my grids ItemDataBound event, I have the following:
if ((e.Item is GridEditableItem) && (!e.Item.Edit))
{
    GridEditableItem _item = (GridEditableItem)e.Item;
    ((Button)_item.FindControl("EditButton")).Attributes.Add("onclick", SR.GetString(SR.Message_DeletePopup, "configuration"));
}
 
...

For your convenience my SR class looks like this:
...
 
public static string GetString(string strString, string param1)
 {
       return string.Format(strString, param1);
 }
 
...
 
public const string Message_DeletePopup = "javascript:return confirm('Are you sure you wish to delete this {0}?');";
 
...


The popup confirm dialog is displayed, but the cursor returns from there (ie: my debugger doesn't see it) and my ItemCommand event is never triggered. It doesn't seem matter which button I push, OK and Cancel do the same thing.


Any ideas?

johnv
Top achievements
Rank 2
 answered on 15 Mar 2011
1 answer
81 views

* Here RadGrid Extended for our framewok
* When Exporting to PDF,the content of the grid showing fine. But the HeaderText not visible.

<

 

PM:PMRADGrid ID="tgrdPrintHistoTrans" runat="server" AutoGenerateColumns="False" Height="450px" Width="70%" Visible="false" >

 

 

<MasterTableView DataKeyNames="cid,payee_id,request_id,parent_id" ClientDataKeyNames="payee_id,request_id,parent_id"

 

 

EnableViewState="true">

 

 

<GroupByExpressions>

 

 

<telerik:GridGroupByExpression>

 

 

<SelectFields>

 

 

<telerik:GridGroupByField FieldName="parent_id" HeaderText="" />

 

 

</SelectFields>

 

 

<GroupByFields>

 

 

<telerik:GridGroupByField FieldName="parent_id" HeaderText="" />

 

 

</GroupByFields>

 

 

</telerik:GridGroupByExpression>

 

 

</GroupByExpressions>

 

 

<Columns>

 

 

<telerik:GridTemplateColumn HeaderText="Effective &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Posted&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fund"

 

 

HeaderStyle-Width="250px">

 

 

<ItemTemplate>

 

 

<asp:Label ID="lblEDate" runat="server" Text='<%# Eval("effective_date", "{0:MM/dd/yyyy}") & " " & Eval("post_date", "{0:MM/dd/yyyy}") & " " & Eval("fidabbrev") %>'></asp:Label>

 

 

<br />

 

 

<asp:Label ID="lblRev" runat="server" Text='<%# Bind("reversal")%>' Visible=true></asp:Label>

 

 

<br />

 

 

<asp:Label ID="Label1" runat="server" Text='<%# Bind("ttype")%>' Visible="true"></asp:Label>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn HeaderText="Dollar Value" HeaderStyle-Width="75px">

 

 

<ItemTemplate>

 

 

<asp:Label ID="lblPDate" runat="server" Text='<%# Eval("dollar_val","{0:C}")%>'></asp:Label>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn HeaderText="Amount" Display="true" HeaderStyle-Width="75px">

 

 

<ItemTemplate>

 

 

<asp:Label ID="lblAmount" runat="server" Text='<%# Eval("amt","{0:00.000000}")%>'></asp:Label>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn HeaderText="Units" HeaderStyle-Width="75px">

 

 

<ItemTemplate>

 

 

<asp:Label ID="lblUnits" runat="server" Text='<%# Eval("units")%>'></asp:Label>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn HeaderText="UserId" HeaderStyle-Width="75px">

 

 

<ItemTemplate>

 

 

<asp:Label ID="lblUserId" runat="server" Text='<%# Bind("userid")%>'></asp:Label>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

</Columns>

 

 

</MasterTableView>

 

 

<ClientSettings>

 

 

<Scrolling UseStaticHeaders="false" />

 

 

</ClientSettings>

 

 

</PM:PMRADGrid>

 

Daniel
Telerik team
 answered on 15 Mar 2011
0 answers
72 views
i am having 3 rad comboboxes on a page and on the selected index change event ofone of them a rad grid must appear. In that grid one column is coded in aspx page but other columns should appear as which month has been selected in the above rad combobox. so if january is selected 31 column must appear and accordingly. now in each those cells of column rad comboboxes should come and to be binded to the datatable containing some data as selection from remaining rad comboboxes.

any help will be grateful
thanks in advance
arun
arun
Top achievements
Rank 1
 asked on 15 Mar 2011
1 answer
103 views
Hi,

We used radgrid pagination function on our pages, our 508 team find there is issue for the pagination. Focus is lost when the user tabs to the page number link ( e.g 1, 2, 3 for page number) . The dotted border that denotes focus disappears on this link.

Is there any way to address this issue?

Thanks,
Wei
Maria Ilieva
Telerik team
 answered on 15 Mar 2011
1 answer
97 views
Hi,
We used pagination for Radgrid in our pages. There is a layout table being used to display the Page Size dropdown( see attached screen shot).
1. This layout table has a table summary attribute of "combobox" defined. ( see below source code). 

<table class="" summary="combobox" style="border-width: 0pt;" border="0" cellpadding="0" cellspacing="0">
<tbody><tr class="rcbReadOnly">
<td class="rcbInputCell rcbInputCellLeft" style="width: 100%;"><input autocomplete="off" name="ctl00$cphContent$ExceptionRequestRadGrid$ctl00$ctl03$ctl01$PageSizeComboBox" class="rcbInput" id="ctl00_cphContent_ExceptionRequestRadGrid_ctl00_ctl03_ctl01_PageSizeComboBox_Input" value="10" readonly="readonly" type="text"></td><td class="rcbArrowCell rcbArrowCellRight"><a id="ctl00_cphContent_ExceptionRequestRadGrid_ctl00_ctl03_ctl01_PageSizeComboBox_Arrow" style="overflow: hidden; display: block; position: relative; outline: medium none;">select</a></td>
</tr>
</tbody>
</table>

Our 508 team suggested that since this is not real data table, summary attribute should be removed, otherwise Jaws will read that summary and it will  confuse the user. Also, it is possible not use table  but div instead?

2.  The Page Size dropdown is missing a form label

Can these issues be addressed?

Thanks,
Wei

Maria Ilieva
Telerik team
 answered on 15 Mar 2011
2 answers
195 views
Hi,
I would like to have a Tree view that can be filtered. 
Filtering Combo box and a tree view within, but looks like telerik is not supporting it. So is there any alternate for that? or any idea how to achieve something similar to that?

regards,
Naresh
Nikolay Tsenkov
Telerik team
 answered on 15 Mar 2011
3 answers
38 views
Hi,

Trying to think of a way around this, the quickest would be to remove paging but i'd rather do some sort of paging.

If you look at http://brightwells.com/AntiquesAndFineArt/Antiques/Catalogue.aspx you will see it has a hyperlink at the top under order of sale for 1-120 which works as its in view but if you look at 311 and click on it it can't get the hook as it's not on the current page.  I'm binding the <a name="lotnumber"></a> in the Photo Thumbnail field.

Is there anyway to get the paging work according to the a name link?

Thanks,
Chris
Iana Tsolova
Telerik team
 answered on 15 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?