Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
132 views
Hi
    I am using telerik Radcontrols for AJAX 2011.3.1115 version. Some times my web page UI is disturbing, the Telerik controls are not visible properly,please find the attachment. 
Please help me ASAP,Getting lot of disturb for this,this is happening in rad controls(Radlistbox,Radcombobox)


Thank you
Gurumoorthy.V
JJ
Top achievements
Rank 1
 answered on 13 Jun 2012
1 answer
96 views
I need to implement the below requirement in my telerik rad grid.

1. In the X-> Axis we need to show the days of a month(1-31) and in Y-Axis we need to show the month name. We have a name column which shows the name of different persons worked on a team.

2. A person can take multiple categories leaves in a single day. For Example in a day if we consider 8 hours as working hours and lets say I took 2 hours of Sick Leave, 2 hours of Working from home and 4 hours of out of office.

3. For each kind of leave we have different color codes to represents that in a grid cell for that day. These color code as the hex codes coming from a database based on the user preference set for that employee.

4. If you see the attachment, for the month of Jan, Person1, took 3 categories of leaves on 3rd Jan and 14th Jan. How to achieve this functionality of having 3 different color codes in a single grid cell and that to those colors are coming from database.

It will be great if you can tell me how to achieve this functionality.

Thanks,
Nishith
Richard
Top achievements
Rank 1
 answered on 13 Jun 2012
1 answer
48 views
I have a RadGrid and an RadAjaxLoadingPanel and wire them together.  I choose to edit a row of the grid within an Edit Form template and if I click on the update or cancel buttons of my edit form the RadAjaxLoadingPanel displays as normal.  If I click into one of the fields of my edit form and TAB over to the submit or cancel buttons and then click the enter key... the postback occurs and my grid is updated BUT the RadAjaxLoadingPanel never displays.

What's going on here?
Richard
Top achievements
Rank 1
 answered on 13 Jun 2012
1 answer
190 views
Hi all,

am using asp.net 3.5 i need to limit the adding levels of my tree list main categories limit to MAX 6 levels... wont alow to add after 6th level..

have you any idea about this then please let me know..

Regards,

Prassin
Richard
Top achievements
Rank 1
 answered on 13 Jun 2012
1 answer
48 views
Hello all

We're using a fairly oldish release (2010.3.1317.40) on Windows 7 using IE9.  Currently this is needed due to the amount of testing already performed with this version, so the customer is reticent to update to the latest version if it's all avoidable.

We're having a problem with performance when selecting a row in a RadGrid with a 1000 rows

It takes 1.5 seconds on the first time a row is selected, and then 0.75 seconds on subsequent selections.  This is more than enough for a user to notice the lag.

In Firefox selecting a row takes up 0.15 seconds.

Note that in both cases a callback is being made back to the server.  I've profiled this and that's taking 0.12 seconds, so the Firefox response time seems more than adequate.

Any ideas what can be causing this problem, or is it a problem with IE?

Thanks in advance.
Richard
Top achievements
Rank 1
 answered on 13 Jun 2012
1 answer
289 views
Hi,


    I used a Link button in listview itemtemplate.I need to redirect to a page in a new window.
But, I unable to find the solution.. It does not redirect to..


My code is here...
 
<telerik:RadAjaxPanel ID="rAjaxPnlForumsCategory" runat="server" LoadingPanelID="rAjaxLoadingPnlForumsCategory">
    <div style="border-top:1px solid #828282; border-bottom:1px solid #828282;">
 
        <telerik:RadListView ID="rlstviewReply" runat="server" Width="100%"
                             DataKeyNames="ForumPostReplyID"
                             OnNeedDataSource="rlstviewReply_NeedDataSource"
                             OnItemDataBound="rlstviewReply_ItemDataBound">
            <ItemTemplate >
                <table width="100%">
                    <tr>
                        <td>
                            Replied by
                            <asp:LinkButton ID="lnkbtnCandidateName" runat="server" OnCommand="lnkbtnCandidateName_Command" Enabled="false"  CssClass="_TextBoldSubCategory"></asp:LinkButton>
                          <span> On <asp:Label ID="lblCreatedOn" runat="server" Text=""></asp:Label></span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div id="divReply" runat="server" class="_PaddingTop5 _PaddingBottom5"><%# Eval("Reply") %></div>
                        </td>
                    </tr><tr><td id="Td1" runat="server" visible='<%# (Container.DataItemIndex + 1).ToString() != hidCount.Value  %>' align="center" class="DottedLineBottom2" style="text-align:center;"></td></tr>
                        
                </table>
            </ItemTemplate>
        </telerik:RadListView>
    </div>
  
    <div class="_PaddingTop20">
        Post your reply
        <div class="_PaddingTop20">    
        <telerik:RadEditor runat="server" Skin="Telerik" ToolsFile="~/Forums/RadEditorTools.xml"  ContentAreaCssFile="~/Styles/Editorstyle.css"
                           ID="radeditorReply" Width="100%">
        </telerik:RadEditor>
        <asp:RequiredFieldValidator CssClass="ErrorMessage" ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="radeditorReply" ValidationGroup="reply"></asp:RequiredFieldValidator>
        </div>
    </div>
    <div class="_PaddingTop5" style="text-align :center;">
        <telerik:RadButton ID="btnSubmit" runat="server" Text="SUBMIT" onclick="btnSubmit_Click" ValidationGroup="reply">
        </telerik:RadButton>
    </div>
    <div> </div>
</telerik:RadAjaxPanel>
<asp:HiddenField ID="hidCount" runat="server" />
 
 
        protected void rlstviewReply_ItemDataBound(object sender, Telerik.Web.UI.RadListViewItemEventArgs e)
        {
            try
            {
                if (!(e.Item is RadListViewDataItem))
                {
                    return;
                }
 
                if (e.Item is RadListViewItem)
                {
                    RadListViewDataItem rlvItem = (RadListViewDataItem)e.Item;
 
                    LinkButton lnkbtnCandidateName = (LinkButton)rlvItem.FindControl("lnkbtnCandidateName");
                    Label lblCreatedOn = (Label)rlvItem.FindControl("lblCreatedOn");
 
                    ForumPostReplies forumpostsreply = (ForumPostReplies)rlvItem.DataItem;
                    if (forumpostsreply == null)
                    {
                        return;
                    }
 
                    lnkbtnCandidateName.Text = string.Format("{0}", forumpostsreply.Users.UserName);
                    lblCreatedOn.Text = forumpostsreply.CreatedOn.ToString("g");
 
                    if (SessionHandler.User.UserTypeID == (int)FrameworkConstants.USER_TYPE.Employer)
                    {
                        lnkbtnCandidateName.Enabled = true;
                        lnkbtnCandidateName.CommandArgument = forumpostsreply.Users.UserID.ToString();
                        lnkbtnCandidateName.Attributes.Add("OnClick", " window.location.href =" + FrameworkConstants.PROJECT_PAGES.CANDIDATE_PROFILE.Description() + ");");
                    }
                }
            }
            catch (Exception ex)
            {
                ErrorLogging.AddErrorLog(ex);
            }
        }
 
        protected void lnkbtnCandidateName_Command(object sender, CommandEventArgs e)
        {
            try
            {
                if (e.CommandArgument == null)
                {
                    return;
                }
 
                long userID = 0;
                if (long.TryParse(e.CommandArgument.ToString(), out userID))
                {
                    Session[FrameworkConstants.SESSION_VARIABLES.CANDIDATEID.ToString()] = userID;
                }
            }
            catch (Exception ex)
            {
                ErrorLogging.AddErrorLog(ex);
            }
        }


Thank you in advance...
Richard
Top achievements
Rank 1
 answered on 13 Jun 2012
1 answer
76 views
I am trying to format a spreadsheet that I am exporting. I have had to add some hidden columns in the grid so I could use the Data.DataItem in the ExcelMLExportRowCreated event to do some calculations to determine if a date should be highlighted or not. In my click event for my export button I am setting them to visible so I have access to the value. It appears if they are hidden I cannot access this value in the ExcelMLExportRowCreated. The issue is that I don't want these values in the actual spreadsheet. I just want to use them in the calculation. Am I going about this the wrong way?
Chris
Top achievements
Rank 1
 answered on 13 Jun 2012
1 answer
88 views
I'm wanting to use something on my page similar to what is used on the main page of telerik.com as far as the navigation dots go. Is there an example out there that I'm not seeing that I could use as a reference on how to go about building this and syncing the data up with the current item?

Thanks

-Geoff
Slav
Telerik team
 answered on 13 Jun 2012
1 answer
98 views
I have added a label ADD in  slot and i want to popup AdvancedInsert window after clicking ADD as in Outlook.
how can i do it?

One more thing i want to know is when i am clicking option then the insertAdvanceTemplate opens but the page get refreshed. what can i do for getting this in same page?
Ivana
Telerik team
 answered on 13 Jun 2012
1 answer
128 views
I have a bar chart from an SqlDataSource working well.  By default, all bars (series) are the same color.  I would to be able to set each color programatically as they are added to the chart.  How do I capture the series bounding event? 

Thank you.

Marin Bratanov
Telerik team
 answered on 13 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?