Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
154 views
I have 4 columns, one is databound column which sorts properly. Other 3 are template columns which contain value from same datasource. Tried everything I can but still couldn't enable sorting on any of these template columns.... please help, thanks in advance!


                    <telerik:GridBoundColumn DataField="Status" HeaderText="Status"
                        SortExpression="Status" UniqueName="Status">
                        <HeaderStyle Width="50px"></HeaderStyle>
                    </telerik:GridBoundColumn>
<telerik:GridTemplateColumn SortExpression="ABC.Name" UniqueName="Name">
                        <ItemStyle Width="150px" Wrap="True"/>
                        <HeaderTemplate>
                            <asp:Label runat="server" ID="NameHeaderLabel" Text="Name"></asp:Label>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <a href='<%# "ABC.aspx?Id="+Eval("ABC.Id") %>'><%# Eval("ABC.Name")%></a>
                        </ItemTemplate>                    
                  </telerik:GridTemplateColumn>
<telerik:GridTemplateColumn SortExpression="Cost" UniqueName="Cost">
                        <HeaderTemplate>
                            <asp:Label runat="server" ID="CostHeaderLabel" Text="Cost"></asp:Label>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <%# Eval("Cost", "{0:N}")%>
                        </ItemTemplate>                    
                    </telerik:GridTemplateColumn>
<telerik:GridTemplateColumn SortExpression="Location.Name" UniqueName="Location">
                        <ItemStyle Width="150px" Wrap="True"/>
                        <HeaderTemplate>
                            <asp:Label runat="server" ID="LocationHeaderLabel" Text="Location"></asp:Label>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <a href='<%# "Locations.aspx?Id="+Eval("Location.Id") %>'><%# Eval("Location.Name") %></a>
                        </ItemTemplate>                    
                  </telerik:GridTemplateColumn>
sf
Top achievements
Rank 1
 answered on 17 Apr 2009
1 answer
132 views
I have a RadGrid which binds to a dataset. I'd like to programatically set an item as selected/expanded, and have the grid automatically set the CurrentPageIndex to the correct page number to show the selected/expanded item.

Is this possible? My code works great as long as the item is on the first page.
Princy
Top achievements
Rank 2
 answered on 17 Apr 2009
1 answer
98 views
Is there a way to change it so that the LessThan filter is always "Less Than OR Is null"
Princy
Top achievements
Rank 2
 answered on 17 Apr 2009
0 answers
67 views
Hi

I have two concerns.

I have a panel bar which has items with text that exceeds the length of the panel. It causes the text to be wraped and break to next line. My problem is that the next line seems to be so off set that it looks like it became double spaced.

My other problem is that after i clear and repopulate all items, there seems to be an extra space or gap on top of the first item of the panel. I am suspecting that it has something to do with the rpFirst thing. I am not certain though.

BTW, I am using the WEBBLUE skin.

Any help appreciated.

Thanks

Mac-Mac
mac-mac
Top achievements
Rank 1
 asked on 17 Apr 2009
4 answers
117 views
Hi,

I,m trying to refresh my radScheduler or trigger appointments to be recreated and rebound from here:


            <telerik:RadWindow ID="NaslovnikiSkupine" Width="800" Height="600" runat="server" InitialBehavior="None" IconUrl="images/detailSMS.ico" KeepInScreenBounds="true"
                Left="" style="display:none;" Top="" OnClientClose="postbackOnClientClose">



the postbackOnClientClose function looks like this :

  function postbackOnClientClose() {
            __doPostBack("<%= RadScheduler1.ClientID %>", "");
            
        }


This doesn't refresh the appointments (trigger the RadScheduler1_AppointmentDataBound)....it just triggers the RadScheduler1_AppointmentCreated event.

How can I achieve that?

Thanks,
LP, Luka






Lukrs
Top achievements
Rank 2
 answered on 16 Apr 2009
0 answers
117 views
Hey guys,

    Even though the StartDate and EndDate points to same date. The appoinment overlaps between two dates. Any Idea why this is happening.
Praveen
Top achievements
Rank 1
 asked on 16 Apr 2009
2 answers
123 views
Hi,

I followed the sample from the online help under http://www.telerik.com/help/aspnet-ajax/mvc-getting-combobox-value.html.
When I tried to get the value of the RadComboBox in my project it throws the folIowing error: Can you provide an working sample for a reference please??

Value cannot be null.
Parameter name: input

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: input

Source Error:

Line 57:         {
Line 58:             var clientStateString = ExtractStringValue(request, comboboxId + "_ClientState");
Line 59: var clientState = new JavaScriptSerializer().Deserialize<RadComboBoxClientState>(clientStateString);Line 60:             return clientState.Value;
Line 61:         }

estebangamez
Top achievements
Rank 1
 answered on 16 Apr 2009
9 answers
474 views
To the point: Does the trial version of the MOSS Rad controls work in a load balanced environment?

We are in the process of purchasing the renewal for our Rad licence, but in setting up the latest trial on our 2 WFE dev environment we can not get to the site using the load balanced url with the rad editor deployed. We can however get to the site if we use an individual http://<server_name>:<port_number>, and/or if we retract the rad editor feature deployment.

I just wanted to see if this was a limitation of the trial or of the actual editor tool.

Thank you.

Robert Smithhart
Top achievements
Rank 1
 answered on 16 Apr 2009
1 answer
125 views
Hello, when double clicking on an existing recurring appointment in the calendar display is there a way to disable the 'Edit the series.' option selection when the 'Editing a recurring appointment' popup displays and force the user to select only the 'Edit only this occurence.' or bypass this popup and bring them to the 'Edit only this occurence.' edit form based on the appointment button's text that was just double clicked?

Thanks in advance.
T. Tsonev
Telerik team
 answered on 16 Apr 2009
4 answers
86 views
My Visual Studio gives me a warning that the properties Behaviour, InitialBehaviour and ClientCallBackFunction properties are obsolete...

For ClientCallBackFunction, it suggests using OnClientClose instead

Yet, the documentation does not mention any of them as obsolete...

Is something not quite right???


Thanks

Eric
Eric
Top achievements
Rank 1
 answered on 16 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?