Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
155 views
Hi,

I'm using the same radWindow for two different display; one longer than the other.

I was wondering if it was possible that the radWindow auto-resize itself.

Thanks,

Phil
Shinu
Top achievements
Rank 2
 answered on 03 Jul 2009
1 answer
106 views
Hi -

I have a data item that I would like to compare to a column's value for every row in the grid.  When there is a match, I would like to set column's corresponding row's selected property to true.  (Server side code)

the pseudo code would be

For each grid(row) in mastergrid
    when activityid == grid(row).Column(activityid.value) 
         set the grid(row) selected.property = true.
         quit

Could you provide a code example of how this can be accomplished?
Thanks
Princy
Top achievements
Rank 2
 answered on 03 Jul 2009
16 answers
615 views
Hi

I have a required field validator attached to a rad date picker to make sure the user enters a date. The problem is that if the user enters an invalid date like 32/4/2008 the required field validator is 'activated' even though it shouldnt be and my error message 'date required' is displayed. How can i stop invalid dates triggering the required field validator

thanks
Phil
Top achievements
Rank 2
 answered on 03 Jul 2009
2 answers
111 views
How can I stop the GridHTMLEditorColumn from showing the rendered HTML when the rows are displayed in the Grid?  If I have links to images within my HTML in the cell, it renders and adds to load time.  I would like to only display the HTML code in that cell.  So for example, even in the case of the cell containing the HTML: <strong>Test</strong>.  I would like the cell to contain <strong>Test</strong> rather than rendering the HTML and ending up with a bolded "Test".  Thank you!
Todd
Top achievements
Rank 1
 answered on 03 Jul 2009
4 answers
132 views
Hi,

Is there a way to display grid lines while in edit mode for RadGrids? I have seen a few forum posts mentioning this, but the solution wasn't very clear to me and didn't really show how you go about it.

Help on this issue would be greatly appreciated.

Regards,

Luke
Peter
Top achievements
Rank 1
 answered on 02 Jul 2009
6 answers
579 views
I had a grid setup to display some data.  When an insert occurred, I wanted to display a message so I subscribed to the OnCommand client event.  This worked well and was fired when the insert command item was clicked.

I needed to customise the command item so set up a CommandItemTemplate as follows

            <CommandItemTemplate> 
                <table width="100%" style="margin: 5px">  
                    <td align="left">  
                        <span class="GridTitle">Accounts</span> 
                    </td> 
                    <td align="right">  
                        <asp:LinkButton runat="server" class="GridCommandButtonText" CommandName="InitInsert">  
                            <img style="border:0px;vertical-align:middle;" alt="Insert" src='<%= ToAbsoluteURL("~/Images/Add_24.png") %>' />&nbsp;&nbsp;Add new account  
                        </asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;  
                        <asp:LinkButton runat="server" class="GridCommandButtonText" CommandName="RebindGrid">  
                            <img style="border:0px;vertical-align:middle;" alt="Refresh" src='<%= ToAbsoluteURL("~/Images/Refresh_24.png") %>' />&nbsp;&nbsp;Refresh account list  
                        </asp:LinkButton>&nbsp;&nbsp;&nbsp;  
                    </td> 
                </table> 
            </CommandItemTemplate> 
 

This displayed as I wanted it to, however the insert and refresh buttons don't fire the client event, they only fire the server event.  Is there a way that these can conform to the standard process and call the OnCommand event or is this a bug. 

I am running the the latest version of RadControls.

Thanks

Stephen
Stephen
Top achievements
Rank 2
 answered on 02 Jul 2009
7 answers
184 views
Hi there,
I m using telerik 2008.02.0826.20 version. While exporting my RadGrid to Excel Cannot find a cell bound to column name 'InvoiceId'
<MasterTableView Width="100%" Name="Master" HierarchyLoadMode="ServerBind" DataKeyNames="InvoiceId" 
HorizontalAlign="NotSet" CommandItemDisplay="Top"> 
<DetailTables> 
<telerik:GridTableView Name="Detail" BackColor="White" AllowNaturalSort="true" runat="server" 
DataKeyNames="invoiceidfkid" Width="100%"> 
<ParentTableRelation> 
<telerik:GridRelationFields MasterKeyField="InvoiceId" DetailKeyField="invoiceidfkid"> 
</telerik:GridRelationFields> 
</ParentTableRelation> 
Master Detail table relation is given above.
in code behind the following code is given.
rgInvoice.MasterTableView.HierarchyDefaultExpanded = true;
rgInvoice.ExportSettings.ExportOnlyData = true;
rgInvoice.ExportSettings.IgnorePaging = true;
rgInvoice.ExportSettings.OpenInNewWindow = true;
Normal hierarchical functionality is working fine as usual , But while clicking on Export To Excel i get a ERROR message : Cannot find a cell bound to column name 'InvoiceId' . Please help me to get ride of this issue.

Thanks!
Daniel
Telerik team
 answered on 02 Jul 2009
3 answers
152 views
Hi

What I've been tasked to do is develop a method of populating the scheduler for upto a year with repeating tasks in either 1,2,3 or 4 week cycles.

Is it posible to give users a generic schedule view in weeks ie week 1, Week 2, Week 3 Week 4 that they can load with schedule data but not tied to dates, and when they submit I can then fill the scheule with these repeating items?, the start date will be one I choose.

Andy
Andy Green
Top achievements
Rank 2
 answered on 02 Jul 2009
0 answers
103 views
Hi,

    My problem is that when ever i hoveover the image in treeview it disapper.

and on other project i am using same treeview it works fine.


let me kow whats the problem.

thanks,
Ashi
Ashish Jain
Top achievements
Rank 1
 asked on 02 Jul 2009
3 answers
158 views
I was experimenting with the listbox control and noticed that it does not support the shift key for multiple selection.  I think this is going to be a feature the users of our website are going to ask for.  They are used to selecting one item then clicking an item two or three items further down in the list while holding the shift key down and having all of the items between the first and last item selected.

Also, is there a way to prevent the text from being selected while clicking and dragging over the top of the list items?  Highlighting the row is fine, but having the text within the highlighted row also be selectable makes using the control a little confusing.

Ryan
Simon
Telerik team
 answered on 02 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?