Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
85 views
Hi,
i would like to change the order of menus in javascript 
the functionlity i'm trying to provide is let user change the order in javascript 
i have written code for the same(separate popup with menu names where user can reorder the menu names ) but can not able to reflect changes in menu.

Regards
Rakesh Jaimini
Benjamin
Top achievements
Rank 1
 answered on 23 Sep 2009
2 answers
114 views
Hi,
I have been trying to figure out how to make a multicolum combo look nice. I would like to have a border on each side of the table cells but I've found that when I do that there is a gap at the top and bottom of each cell. This makes the border on each side look silly.
How can I make the border on the left and right of each cell look like a single line going down the columns?
Thanks ... Ed


I have the following snippets to illustrate.

.tdMultiColDLL  
{  
    border-style: none solid none solid;  
    border-width: 1px;  
    border-color: #000000;  
}  
 
 
 
                        <telerik:RadComboBox ID="ddlVoucher" runat="server" Skin="Vista" Width="500" MaxHeight="200"   
                            HighlightTemplatedItems="true" AutoPostBack="true" CausesValidation="false">  
                            <HeaderTemplate> 
                                <table style="width: 480px; text-align: left" cellpadding="0" cellspacing = "0">  
                                    <tr> 
                                        <td style="width: 60px;"  align="right" class="tdMultiColDLL">Voucher #</td> 
                                        <td style="width: 250px;"  class="tdMultiColDLL">Vendor/Staff/Customer</td> 
                                        <td style="width: 80px;" align="right"  class="tdMultiColDLL">Pmt Date</td> 
                                        <td style="width: 80px;" align="right" class="tdMultiColDLL">Invoice #</td> 
                                    </tr> 
                                </table> 
                            </HeaderTemplate><ItemTemplate>  
                                <table style="width: 480px; text-align: left" cellpadding="0" cellspacing="0">  
                                    <tr> 
                                    <td style="width: 60px;"   align="right" class="tdMultiColDLL">  
                                       <%#DataBinder.Eval(Container.DataItem, "VoucherId")%>   
                                    </td> 
                                    <td style="width: 250px;" class="tdMultiColDLL" > 
                                       <%#DataBinder.Eval(Container.DataItem, "VendorOrStaff")%>   
                                    </td> 
                                    <td style="width: 80px;" align="right" class="tdMultiColDLL">  
                                       <%#CDate(DataBinder.Eval(Container.DataItem, "PaymentDate")).ToShortDateString%>   
                                    </td> 
                                    <td style="width: 80px;" align="right" class="tdMultiColDLL">  
                                       <%#DataBinder.Eval(Container.DataItem, "InvoiceNumber")%>&nbsp;   
                                    </td> 
                                </tr> 
                            </table> 
                        </ItemTemplate> 
                    </telerik:RadComboBox> 
Ed Staffin
Top achievements
Rank 1
 answered on 23 Sep 2009
3 answers
76 views
is it possible to disable the edit on the back end.. I need to have the user still click the subject however I want to do something different on the back end...  I tried to do 

rsLocationCalendar.AllowEdit =

false;
however it did not do anything... I saw a sample but cannot seem to get it to work in the front end... Any help you can give would be great.

 

Gina
Top achievements
Rank 1
 answered on 23 Sep 2009
2 answers
217 views
Hi,

I have a rad grid which has a calculated column.

<

 

telerik:GridCalculatedColumn HeaderText="User's Name" UniqueName="UsersName" DataType="System.String"

 

 

DataFields="FirstName, LastName" Expression='{0} + "&nbsp;" + {1}' AllowFiltering="true"/>

If an user's name is Peter James and I filter the grid by first name or last name it works fine.If I filter for the full name Peter James,there are no records displayed in the grid.

Could you please let me know how I can filter the grid by full names( FirstName LastName).

Thanks,
Nandita.

 

Nandita Kotha
Top achievements
Rank 1
 answered on 23 Sep 2009
1 answer
114 views

Hello,

I have a client-side OnCommand handler setup for the RadGrid.  It's setup for a page event on the client side, but for some reason, it's being called twice.  I don't know what the issue is there... why would it be called twice?

Thanks.

Brian Mains
Top achievements
Rank 1
 answered on 23 Sep 2009
3 answers
134 views
Hello,

The bind does work, but i have <GridTemplateColumn> and I am using the approach to matching it, but it isn't working correctly.  Instead, it's binding nothing.  I am binding using set_data and calling dataBind, and I do see the rows, but the rows are empty.

I have a control like:
<asp:Label id="MyField" runat="server" />

And I do have a MyField field in the data source, but nothing is binding.  Also, my data keys collection is null... something isn't right...  I also tried GridBoundColumn and that isn't binding correctly either...
Todd Anglin
Top achievements
Rank 2
 answered on 23 Sep 2009
4 answers
162 views
Hi

In a RadGrid I created a FormTemplate for the EditFormSettings. This looks like following:

 <telerik:RadGrid ID="PartnerListGrid" runat="server" 
        AllowSorting="True" GridLines="None" Skin="Vista" ShowGroupPanel="True"  
        OnItemDataBound="PartnerListGrid_ItemDataBound" AutoGenerateColumns="False"  
        OnCancelCommand="PartnerListGrid_CancelCommand"  
        oninsertcommand="PartnerListGrid_InsertCommand"  
        onupdatecommand="PartnerListGrid_UpdateCommand"
 
... 
 
<EditFormSettings EditFormType="Template"
                <FormTableItemStyle Width="100%"></FormTableItemStyle> 
                <FormTableStyle GridLines="None" CellSpacing="0" CellPadding="2"></FormTableStyle> 
                <FormStyle Width="100%" BackColor="white"></FormStyle> 
                <EditColumn UniqueName="EditCommandColumn1"
                </EditColumn> 
                <FormTemplate> 
                    <table id="Table2" cellspacing="2" cellpadding="1" width="100%" border="0" rules="none" 
                        style="border-collapse: collapse"
                        <tr>...</tr> 
                        <tr>...</tr> 
                        <tr> 
                            <td align="right" colspan="2"
                                <asp:Button ID="btnUpdate" Text="Update" runat="server" CommandName="Update"></asp:Button> 
                                <asp:Button ID="btnInsert" Text="Insert" runat="server" CommandName="PerformInsert"></asp:Button>&nbsp; 
                                <asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel"></asp:Button> 
                            </td> 
                        </tr> 
                    </table> 
                </FormTemplate> 
            </EditFormSettings> 

There we have the three buttons for update, insert and cancel. In the code behind I have...

protected void PartnerListGrid_CancelCommand(object source, GridCommandEventArgs e) 
        { 
            PartnerListGrid.MasterTableView.ClearEditItems(); 
        } 

...but the event just doesn't get fired. I made it all over the gui. I have no idea what went wrong.
(Since I had several errors before about invalid postback or callback arguments I switched off EventValidation. Thought this probably has to be mentioned..)

Thanks in advance for some help
Regards
Roman

PS: Please don't hesitate to tell me if you require further information.






Daniel
Telerik team
 answered on 23 Sep 2009
2 answers
195 views
hi


How to display selected items of a radcombo in the textbox of radcombo  in tooltip.
For example i have selected any 4 items of the radcombo , when i keep the mouse over the  radcombo these selected items should be shown in tooltip.

Please give me some solution..
Thanks in advance
Laila
Simon
Telerik team
 answered on 23 Sep 2009
5 answers
104 views
Hi,

is there example or demo on this site,  similar to the existing one - "Put All items in edit mode ...", but with hierarchical grid.
After expanding some of the DetalTable child grids, all child items should be putted in edit mode automattically.

Thanks in advance. 
Mr. Plinko
Top achievements
Rank 1
 answered on 23 Sep 2009
1 answer
108 views
The web calendar that ships with vs.2008 allows a programmer to set a past/future date and the calendar will move to that date. How do you do this with the RadCalendar. For example, I want to set the calendar 100 days in the future from today's date. How do you set the future date in the calendar and get it to render to that new date? What am I missing??  I am doing this server-side in vb.net. Any help would be appreciated.
dhuss
Top achievements
Rank 1
 answered on 23 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?