Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
92 views
Hello, 

I'm having a special issue on IE 6 and the scheduler.

Yes, only on IE 6, when I click on a day (in the month view) it fire the event : RadSchedulerPlanning_FormCreating (perfect !) but the e.Appointment.Start is half of the time the second cell of the active month view half of the time the correct date I click.

This issue is only on IE 6... So it's quite awkward!

Thank you to help me on this issue

Jean-Yves
Nikolay Tsenkov
Telerik team
 answered on 15 Feb 2011
3 answers
94 views
IE8 display radbuttons placed next to one another a little jumpy (please see screen shot).
Pero
Telerik team
 answered on 15 Feb 2011
3 answers
109 views
Dear All,

I have a radgrid which have some column with data value is html code, for examples of two the following data row :
  • <nobr><span><a href="/_layouts/userdisp.aspx?ID=9">Developing Lead-Hai Nguyen</a><img border="0" height="1" width="3" src="/_layouts/images/blank.gif"/><img border='0' height='12' width='12' class='ms-imnImg' src='/_layouts/images/blank.gif' alt='' /></span></nobr>
  • <nobr><span><a href="/subsite01/_layouts/userdisp.aspx?ID=14">Conductor Lead-Truc Bui</a><img border="0" height="1" width="3" src="/_layouts/images/blank.gif"/><img border='0' height='12' width='12' class='ms-imnImg' src='/_layouts/images/blank.gif' alt='' /></span></nobr>

And them will appear in radgrid with the link string as follow :
So when i sort this column to ascending, the result will appearing as follow :
And else when i sort this column to descending, it will appearing as follow :
I would like radgrid will show as the follow when i was sorted it :
- Ascending sort :
- Descending sort :
please help me solve this problem, thanks in advance.

Phu Dang.

Phu
Top achievements
Rank 1
 answered on 15 Feb 2011
7 answers
137 views
Hello,

i would like to know how easy or hard can be use the RadSchedulerRecurrenceEditor control on Sharepoint 2010. My webpart works with sharepoint calendar lists, but with it´s own interface to add, edit....

The main requirement is, that my webpart must be transparent to sharepoint. I mean if the users goes straight to the sharepoint list, Sharepoint must recognize the recurrence rule, caml querys...

Thanks
Kalina
Telerik team
 answered on 15 Feb 2011
1 answer
135 views
Hello Telerik,

I initially posted this in the Reporint forum because I am using the chart in a Telerik Report, but I haven't recevied a response.  Seems like maybe this is a more appropiate place... 

I am creating a chart from a SQL datasource.  I have two series that are bound to columns on the datasource.  If I preview the chart, it looks good and the chart matches the data.  My next step is to display my own custom X-Axis labels.  I do this by setting PlotArea.XAxis.AutoScale = false and create the items manually.  However when I do this and preview the chart, the chart does not look correct (the line does not match the data from the database).

This forum post seems to be related: http://www.telerik.com/community/forums/aspnet/chart/trouble-with-custom-xaxis-labels.aspx
It suggests that I do not set the xvalue inside my chart series.  However, I am adding the series by binding to a datasource, so I do not see how to make this work in my case.

//set the datasource 
chart1.DataSource = this.sqlDataSource1; 
//COMMENT OUT THIS SECTION AND THE CHART LOOKS GOOD 
//add new xaxis series items 
chart1.PlotArea.XAxis.AutoScale = false
chart1.PlotArea.XAxis.AddRange(1, 7, 1); 
chart1.PlotArea.XAxis[0].TextBlock.Text = "12/1/10"
chart1.PlotArea.XAxis[1].TextBlock.Text = "12/5/10"
chart1.PlotArea.XAxis[2].TextBlock.Text = "12/10/10"
chart1.PlotArea.XAxis[3].TextBlock.Text = "12/15/10"
chart1.PlotArea.XAxis[4].TextBlock.Text = "12/20/10"
chart1.PlotArea.XAxis[5].TextBlock.Text = "12/25/10"
chart1.PlotArea.XAxis[6].TextBlock.Text = "12/30/10"
    
//add the series 1 
ChartSeries seriesAvg = new ChartSeries(); 
seriesAvg.DataYColumn = "Average"
seriesAvg.Type = ChartSeriesType.Area; 
seriesAvg.DefaultLabelValue = ""
chart1.Series.Add(seriesAvg); 
//add the series 2 
ChartSeries seriesMax = new ChartSeries(); 
seriesMax.DataYColumn = "Max"
seriesMax.Type = ChartSeriesType.Line; 
seriesMax.DefaultLabelValue = ""
chart1.Series.Add(seriesMax);

Am I doing this totally wrong, or is there a work around?

Thanks, Chris
Missing User
 answered on 15 Feb 2011
3 answers
76 views
I'm using the MOSS editor for SharePoint v5.7. I can't seem to get at the client object at all. I've tried using:
 var editorInstance = $find("<%= this.myEditorField.ClientID %>");
but this just returns null. This method works with the standard Telerik editor but not the one for MOSS. Please advise on the correct way to do this.

Thanks.
Stanimir
Telerik team
 answered on 15 Feb 2011
15 answers
210 views

hi, please help me what i am doing wrong in the followig code. RadGrid is empty, but the DataTable is getting data from DB:

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <!-- content start -->
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
                    <telerik:AjaxUpdatedControl ControlID="LBL_Surname" LoadingPanelID="RadAjaxLoadingPanel1" />
                    <telerik:AjaxUpdatedControl ControlID="TB_Surname" LoadingPanelID="RadAjaxLoadingPanel1" />
                    <telerik:AjaxUpdatedControl ControlID="LBL_Name" LoadingPanelID="RadAjaxLoadingPanel1" />
                    <telerik:AjaxUpdatedControl ControlID="TB_Name" LoadingPanelID="RadAjaxLoadingPanel1" />
                    <telerik:AjaxUpdatedControl ControlID="Btn_Search" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
    </telerik:RadAjaxLoadingPanel>
    <!-- content end -->
    <telerik:RadSplitter ID="RadSplitter1" runat="server" Width="80%">
        <telerik:RadPane ID="RadPane1" runat="server" Width="99%">
            <telerik:RadGrid ID="RG_SearchResult" runat="server" Skin="Telerik" OnItemDataBound="RG_SearchResult_ItemDataBound"
                OnNeedDataSource="RG_SearchResult_NeedDataSource" OnDetailTableDataBind="RG_SearchResult_DetailTableDataBind"
                OnItemCommand="RG_SearchResult_ItemCommand" DataSourcePersistenceMode="NoPersistence"
                HeaderStyle-Font-Bold="true" Width="99%" PageSize="1000" PagerStyle-AlwaysVisible="true"
                ShowStatusBar="True" GridLines="None" AutoGenerateColumns="False">
                <MasterTableView Name="Level1" DataKeyNames="ID">
                    <Columns>
                        <telerik:GridBoundColumn DataField="ID" HeaderText="ID" UniqueName="ID" Visible="false" />
                        <telerik:GridBoundColumn DataField="SurName" HeaderText="???????" UniqueName="SurName" />
                        <telerik:GridBoundColumn DataField="FirstName" HeaderText="???" UniqueName="FirstName" />
                        <telerik:GridBoundColumn DataField="PName" HeaderText="????????" UniqueName="PName" />
                    </Columns>
                    <DetailTables>
                        <telerik:GridTableView Name="Level2" DataKeyNames="ID" HierarchyLoadMode="ServerOnDemand"
                            Width="100%" BackColor="#EFEFFB">
                            <Columns>
                                <telerik:GridButtonColumn CommandName="RollInfo" Text="???????" UniqueName="RollInfo" />
                                <telerik:GridButtonColumn CommandName="History" Text="???????" UniqueName="History" />
                                <telerik:GridButtonColumn CommandName="TechSpec" Text="???. ?????????" UniqueName="TechSpec" />
                                <telerik:GridBoundColumn DataField="ID" HeaderText="ID" UniqueName="ID" Visible="false" />
                                <telerik:GridBoundColumn DataField="PropCode" HeaderText="???" UniqueName="PropCode" />
                                <telerik:GridBoundColumn DataField="PropAddr" HeaderText="?????" UniqueName="PropAddr" />
                                <telerik:GridBoundColumn DataField="Owner" HeaderText="???" UniqueName="Owner" />
                            </Columns>
                            <PagerStyle AlwaysVisible="True"></PagerStyle>
                        </telerik:GridTableView></DetailTables>
                    <ExpandCollapseColumn Visible="True">
                    </ExpandCollapseColumn>
                    <PagerStyle AlwaysVisible="True"></PagerStyle>
                </MasterTableView><HeaderStyle Font-Bold="True"></HeaderStyle>
                <PagerStyle AlwaysVisible="True"></PagerStyle>
            </telerik:RadGrid></telerik:RadPane>
    </telerik:RadSplitter>

protected void Btn_Search_Click(object sender, EventArgs e)
       {
           DataTable dt = new DataTable();
           if (RBL_UType.SelectedValue == "0")
               dt = KLIS.Helpers.myConnections.GetDataTableX("udsp_SearchByName", "Sirname", TB_Surname.Text, "Firstname", TB_Name.Text);
           else if (RBL_UType.SelectedValue == "1")
               dt = KLIS.Helpers.myConnections.GetDataTableX("udsp_SearchByFirm", "FirmName", TB_Name.Text);
 
           RG_SearchResult.DataSource = dt;
           RG_SearchResult.DataBind();
       }

Jayesh Goyani
Top achievements
Rank 2
 answered on 15 Feb 2011
0 answers
189 views
Hi

I am trying to use RadTreeView in my web application. I am trying to add nodes from code behind. I am getting following error whe n I try to run the application and TreeView gets frozen not able to expand or do anything in the page. I have a login page for the web application I am not sure if this is causing the problem because when I use the treeview in a web application which does not have authentication it works fine.

Microsoft JScript runtime error: Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON.
Parameter name: data


Any help to fix this error or debug why this error is coming.

Regards
Kiran
Kiran
Top achievements
Rank 1
 asked on 15 Feb 2011
2 answers
106 views
Please help me in this issue. While selecting a row in rad grid, is it possible to select only the row pertaining to certain column ?

Thanks in Advance.
Antony
Top achievements
Rank 1
 answered on 15 Feb 2011
3 answers
325 views
2010 Q2 controls, VS 2010, C# 4.0

We are using the sample you provide to support multi-select via checkboxes and delimited lists.

Here are some items in a dummy ComboBox.
Cat
Dog
Gorilla
Mouse

I need to enhance this so that the user doesn't have to use the mouse to select anything. I want the users to be able to select items in the following two ways.

Method 1: Auto-complete should allow the user to type d,m and have it check the appropriate checkboxes for Dog and Mouse.
Method 2: Space Bar selection.  Pressing the down arrow to get to Dog and pressing the space bar or comma should check the box and add it to the list.

Before I go recreate the wheel, does anyone have a link to something similar to what I'm wanting to do?  I've searched a lot but didn't find anything.

Thanks!
Thad
Thad
Top achievements
Rank 2
 answered on 14 Feb 2011
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?