Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
342 views

I  have a stack column in RadGrid (shown in below image) and I want to apply sorting on the both fields of that column. For the sorting these columns  I had applied my own logic and I could sort the columns but I am not able to apply color on column header and the ascending descending image which comes when we use default sorting of RadGrid.

Please tell me how to apply color and image to that column while sorting and when we sort with this stack column then the column, which we had sorted previously should get the default column header style.

Or Is there any alternative to sort the stack columns?

Please reply ASAP.

Galin
Telerik team
 answered on 30 Aug 2012
3 answers
153 views
I have a grid, bound declaratively to a PageMethod web service, using LINQ filtering with System.Linq.Dynamic.
Some of my settings are as follows:

<GroupingSettings CaseSensitive="false" />
<ClientSettings>
<DataBinding SelectMethod="GetAllOffices" Location="UserDetails.aspx" EnableCaching="true" FilterParameterType="Linq" />
<Selecting AllowRowSelect="true" UseClientSelectColumnOnly="true" />
</ClientSettings>
<MasterTableView>

I understand that <GroupingSettings> should be used for case-insensitive filtering, but that is not holding true when using client-side LINQ binding.  Fiddler shows the dynamic LINQ statement being returned to server, as JSON, to be:  "filterExpression":"OfficeName.Contains(\"name\") AND OfficeCode.Contains(\"c\")".

How do you get case-insensitivity when using a LINQ filter, bound declaratively, to a web service?

Thank you,
Kevin Kalitowski 
The Oracle
Top achievements
Rank 1
 answered on 30 Aug 2012
1 answer
64 views
hii,
I have a rad tree list with client select column,I tried to select the raw but select command is not firing on selecting the raw using client select column.
can you help me?

regards
Pavlina
Telerik team
 answered on 30 Aug 2012
1 answer
121 views
I have a form with a splitter and 3 panes on it. The first pane loads another page, using contenturl. This child page has a splitter and two more panes.  One of these panes has a radpanelbar in it.  I want to set the contenturl of the 2nd pane in the parent page when the user clicks on an item in the panelbar of the child page.


Let me know if what I'm asking isn't clear enough.

Thanks for the help!
Vessy
Telerik team
 answered on 30 Aug 2012
1 answer
53 views

Hi,

We were using Telerik Controls of version 2008.2.1001.35 earlier.  Now, we are using Telerik Controls of version 2012.1.215.35. 

Our TFS build engine server is in IST timezone and our deployment server is in CST timezone.

When we had a build with 2012 version Telerik Controls, Telerik dlls modified date and time will be 1:00PM. 
If we deploy this build to our deployment server which is of CST timezone (2:30AM), then we were getting awkward user interface for the deployed application.
Earlier, we were not getting awkward user interface by previous version (2008.2.1001.35) for this time difference. 

Please clarify.

Dobromir
Telerik team
 answered on 30 Aug 2012
1 answer
123 views
Hi,

We have an issue with the latest Telerik DLLs version 2012.1.215.35 when deploying a generated build on a server situated in a past time zone.  For example, our TFS build engine server is in IST Timezone and our deployment server is in Eastern Timezone.  The last modified date and time will be Aug 28 1:00 PM.  If these DLLs are deployed on our deployment server which is Aug 28 2:30 AM then we are experiencing a user interface issue (see attached screenshot).

Previously, this issue did not occur for the previous Telerik version 2008.2.1001.35 for the same scenario.

Would you kindly clarify why this problem is occuring?

Thanks,

Andre
Dobromir
Telerik team
 answered on 30 Aug 2012
6 answers
242 views

Team,

I have added attribute to RadDatePicker control while dynamically creating it.
This attribute contains the date time of the control creation(DateTime.Now.ToString()).
I have retrieved attribute value from in client side.
But I am not able to set Raddatepickers value to that attribute value in client side .
Please let me know  how I can achieve this task?

Any help will be appreciable. 

Regards,
Sampada 


Eyup
Telerik team
 answered on 30 Aug 2012
2 answers
146 views
Hi,

I have a RadPanelBar, when panel bar item was clicked it was causing postback:

<telerik:RadPanelBar runat="server" ID="pnlPageComponents" Width="100%" OnClientLoad="componentsPanelClientLoad" onitemclick="pnlAdditionalPageEntities_ItemClick"
    OnClientItemClicked="componentsPanelClientClicked">
    <CollapseAnimation Type="None"></CollapseAnimation>
    <ExpandAnimation Type="None"></ExpandAnimation>
    <Items>
        <telerik:RadPanelItem Height="29px" Text="Components" Value="Components" CssClass="rpHeader1">
            <HeaderTemplate>
                <span class="rpOut rpNavigation" style="cursor:pointer; border-left:1px solid #cccccc; border-right:1px solid #cccccc;">
                    <span class="panelExpandIcon"></span>
                    <span class="rpText">
                        <asp:Label ID="lblHeader0Components" runat="server"></asp:Label>
                        <asp:Label ID="lblItemStatus0Components" CssClass="pageContentComponentsEditorHeaderDescriptionBlue" runat="server"></asp:Label>
                    </span>
                </span>
            </HeaderTemplate>
            <ContentTemplate>
                <asp:UpdatePanel ID="UpdatePanelComponents" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <uc4:Components ID="pageComponentsList" runat="server" />
                    </ContentTemplate>
                </asp:UpdatePanel>
            </ContentTemplate>
        </telerik:RadPanelItem>
    </Items>
</telerik:RadPanelBar>

in onclick event:
bool shouldRender = e.Item.Expanded = !e.Item.Expanded;
e.Item.PostBack = false; // yes, I don't want it to cause postback on consequent clicks

as you can see I was expanding it manually and depending on shouldRender variable I was doing databinding. This has been around for over 6 month and I was updating your controls regularly for this project. Today I got Q2 2012 and now this logic doesn't work anymore. What happens is that I can see that RadPanelBar first expands itself and then causes a postback, so first I see inner control's unbound view and then when postback completes - I see the data. I had to make a change to onclick event:
bool shouldRender = e.Item.Expanded;// = !e.Item.Expanded; <-- manually setting it *now* was collapsing, cause item was already expanded.

So my question is how to get back to original behavior when I don't want to item to expand itself on client side, but just cause a postback in collapsed state, I will do my stuff on server-side callback and set "expanded" property myself (as I was doing previously)?

Thank you!

P.S.: please check release notes for RadPanelBar for Q2 2012 - this should give you some hints in the "fixed" section.
Shukhrat Nekbaev
Top achievements
Rank 1
 answered on 30 Aug 2012
3 answers
86 views
I can't seem to get the pager text of a RadGrid to render.
We're not doing anything special, am I not seeing something?

ASPX:
<rad:RadGrid ID="rgBestellingen" runat="server" AllowPaging="True" runat="server" GridLines="None" Width="90%">
    <MasterTableView>
        <PagerStyle Mode="NextPrevAndNumeric" HorizontalAlign="Right"></PagerStyle>
    </MasterTableView>
</rad:RadGrid>

CS:
public partial class Test : BasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        List<string[]> items = new List<string[]>(50);
        for (int i=0;i<50;i++)
            items.Add(new string[3] { "1", "2", "3" });
 
        rgBestellingen.DataSource = items;
        rgBestellingen.VirtualItemCount = items.Count;
        rgBestellingen.Rebind();
    }
}

But the grid always renders as in the screenshot. Can anyone help?

John
Eyup
Telerik team
 answered on 30 Aug 2012
1 answer
76 views
Hi,

We would like to be able to do the following in our RadEditor:
 - Set ImageManager-ViewPaths to point to a common folder PLUS a unique folder for each customer
 - Set ImageManager-UploadPaths and ImageManager-DeletePaths to ONLY point at the unique folder

This way we can offer the customer a variety of images that we provide, plus any they want to add themselves, but they can only upload or delete from their own unique folder.

I tried the following without success:

protected void edtQuestRichText_PreRender(object sender, EventArgs e)
    {
        RadEditor edtQuestRichText = (sender as RadEditor);
        edtQuestRichText.ImageManager.ViewPaths = new String[] { "~/CommonImages", Session["currentCustomerImagesFolder"].ToString() };
    }

Any suggestions?

Thanks in advance

Jim
Rumen
Telerik team
 answered on 30 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?