Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
75 views
Hello, we  are using 2014.1.403.40 version.

My source was published 2 each server. also same source and version.

One server did working that I expected, but another server didn't work.

Scheduler display appointment  that title is user name on timeslot.

Correct working  should be display alphabetical sort for username

ex) Hassan, Jason, Steve

Incorrectly working server display  Steve, Jason, Hassan.

I have no idea, why same source shouldn't be same working just.

Could you let me know any idea?


Plamen
Telerik team
 answered on 21 May 2014
1 answer
132 views
Hi, Sir 

We upload file via AsyncUpload, after select a file, script error occurs, how to solve the problem ?
version 2012.3.1017 

Regards,
agichen


here're error message some in Big5, line 5499


訊息: 已丟出(Throw) 一 例外事件但並未被接收(Catch)
行: 5499
字元: 17
程式碼: 0
URI: http://xxx.xxx.xxx.tw/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3azh-TW%3ac9cbdec3-c810-4e87-846c-fb25a7c08002%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2012.3.1017.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d29ac1a93ec063d92%3azh-TW%3aef67f0a7-ab2f-4105-8009-df2fc4014895%3aede015ac%3a16e4e7cd%3af7645509%3a24ee1bba%3ad312a85e%3a8c7832bf%3abc6b4498%3a36016709%3aad56143d
Shinu
Top achievements
Rank 2
 answered on 21 May 2014
5 answers
907 views
hi,

I am trying to implement paging in rad grid , but when i click from 1st page to 2nd radgrid is not dispalying any data.

what i  am doing iin aspx page below:-

  <form id="form1" runat="server">
    <div>
    <telerik:RadGrid ID="radgrdidemo"  OnNeedDataSource="RadGrid1_NeedDataSource"  AutoGenerateColumns="false" runat="server" >
   <MasterTableView  AllowPaging="true" AutoGenerateColumns="false"> 
    <Columns>
    <telerik:GridBoundColumn DataField="Inno_ID_Key" HeaderText="userid" Visible="true">
                                </telerik:GridBoundColumn>
   </Columns>

</MasterTableView>
    </telerik:RadGrid>
    </div>
    <div>
    <telerik:RadAjaxLoadingPanel ID="LP1" runat="server"></telerik:RadAjaxLoadingPanel>
    
    </div>
    <div>
    <telerik:RadAjaxManager runat="server">
    <AjaxSettings>
    <telerik:AjaxSetting AjaxControlID="radgrdidemo">
    <UpdatedControls>
    
    <telerik:AjaxUpdatedControl ControlID="radgrdidemo" LoadingPanelID="LP1" />
    </UpdatedControls>

    </telerik:AjaxSetting>
    </AjaxSettings>
    </telerik:RadAjaxManager>
    </div>
    <div>
    <telerik:RadScriptManager runat="server">
    </telerik:RadScriptManager>
    </div>
    </form>

and i am binding grid in page load 

public partial class WebForm5 : System.Web.UI.Page
    {
        public SqlDataReader dr;
        protected void Page_Load(object sender, EventArgs e)
        {
            
            var conString = System.Configuration.ConfigurationManager.ConnectionStrings["Amscan-ProdConnectionString"];
            string strConnString = conString.ConnectionString;
            SqlConnection sqlCon = new SqlConnection(strConnString);
            sqlCon.Open();
            SqlCommand CMD = new SqlCommand(" SELECT Inno_ID_Key from DimAhiEvent ", sqlCon);

            dr = CMD.ExecuteReader();
      
            radgrdidemo.DataSource = dr;
            radgrdidemo.DataBind();
           



        }
        protected void RadGrid1_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
        {
            radgrdidemo.DataSource = dr;
        }
    }
and one thing there i see that when i am going from 1st pge to 2nd whole page loads again that i want to avoid .









Jayesh Goyani
Top achievements
Rank 2
 answered on 21 May 2014
1 answer
140 views
I have an ajax enabled tab string multi-page. One of the page contains a button and a radWindow.

The radWubdiw uses the ContentTemplate to show another UserControl. The radWindow is opened using a button click event that sets the RadWindow.VisibleOnPageLoad = true.

The user control has multiple combobox items with AutoPostback = true.  Whenever any of the comobox change the RadWindow will disappear for a split second and reappear immediately.

The pause during the postback when the page is reappearing is very noticeable on IE8. 

We are using Telerik version:2014.1.225.40.
Princy
Top achievements
Rank 2
 answered on 21 May 2014
1 answer
63 views
I have record for appointment
1.Meeting   StartDate 16-5-2014 ,EndDate 18-5-2014 ,start time 04:00:00,end time 10:00:00
2.Conferenece  StartDate 19-5-2014 ,EndDate 25-5-2014 ,start time 08:00:00,end time 12:00:00
so In week view i want to show Scheduling bar for Date 16-5-2014(meeting)..bar starts on 4am to 10am,and for date 19(for conference) Time bar shows from 8 am to 12 pm.

my source code is :

  protected void BindSchedule()
        {
            try
            {
                ProjectController obj = new ProjectController();
                DataSet ds = new DataSet();
                ds = obj.GetActSch();//UserId
                if (ds != null)
                {
                    if (ds.Tables[0].Rows.Count != 0)
                    {
                   for (int i = 0; i <= ds.Tables[0].Rows.Count-1; i++)
                            {
                                RadSchedular1.DataSource = ds; //ds.Tables[0].DefaultView;
                                string StrtTm = ds.Tables[0].Rows[i]["StrtTm"].ToString();
                                string EndTm = ds.Tables[0].Rows[i]["EndTm"].ToString();
                                TimeSpan ts1 = TimeSpan.Parse(StrtTm);
                                TimeSpan ts2 = TimeSpan.Parse(EndTm);
                                RadSchedular1.DayStartTime = ts1;
                                RadSchedular1.DayEndTime = ts2;
                                RadSchedular1.TimeZoneOffset = ts1;
                                   RadSchedular1.DataBind();
                                
                            }
                        }
                }
            }
            catch (Exception ex)
            {
                ex.ToString();
            }
        }

I GOT ISSUE ..last value in my dataset is reflected for all appointments..
please do needful..Thank You
Plamen
Telerik team
 answered on 21 May 2014
4 answers
138 views
I set ShowGroupPanel="True" and AllowDragToGroup="True" and GroupsDefaultExpanded="true". When I debug, I only see one record and I don't see all possible groups. You can see a sample of before and after below. What am I missing?

Tom

After grouping by Dept:
 Before grouping:







Shinu
Top achievements
Rank 2
 answered on 21 May 2014
1 answer
183 views
Hi, 

I have a RadDatePicker control below is my code, i need to make enable and disable based on checkbox checked. i am facing issue while enable & disable calendar popup button is still disabled, so i can't able to select the date. 

<telerik:RadDatePicker ID="endDateDatePicker" runat="server" Width="140px"
DateInput-EmptyMessage="" MinDate="01/01/1000" MaxDate="01/01/3000" Enabled="false">
<Calendar id="endDateCalendar" runat="server">
 <SpecialDays>
<telerik:RadCalendarDay Repeatable="Today" ItemStyle-CssClass="rcToday">
</telerik:RadCalendarDay>
</SpecialDays>
</Calendar>
</telerik:RadDatePicker>

function checkedChanged(ctrl)
{
var comboBox = $get(ctrl.id);
var datePicker = $find('<%= endDateDatePicker.ClientID %>');            
if (comboBox != null && datePicker != null)
{
if (comboBox.checked) {
datePicker.get_dateInput().enable();                      
}
else {
datePicker.get_dateInput().disable();                     
}
}
}

<asp:CheckBox ID="cancelledCheckBox" runat="server" ClientIDMode="Static"
Skin="Metro" onclick="checkedChanged(this)"></asp:CheckBox>
Shinu
Top achievements
Rank 2
 answered on 21 May 2014
2 answers
148 views
I have a RadChart that is a stackbar chart.  We have a click event tied to the bars in the chart, which works fine.  However, if a series is empty we'd like for the user to be able to click in the region where the bar "would" be so we can provide a dialog and allow them to take action.  So far I have not been able to find a way for that to work in the RadChart or the RadHtmlChart.

And alternative would be to make the axis labels clickable.  However, I haven't been able to find a way to get that to work with the RadChart or RadHtmlChart either.  Are either of these possible?
Dave
Top achievements
Rank 1
 answered on 20 May 2014
5 answers
246 views
Hi,

We have Rad Grid with design time declaration and column structure load at page load. 

Also, we want columns to be configured during postbacks so we have set EnableColumnsViewState=false as per suggested in help article. (Keeping EnableColumnsViewState=true within postback is giving duplicate control ids errors)

By above settings, we are loosing feature of column filtering on multple columns.

Filtering with one column is working fine but once we filter on another column to further drill down the result, it looses the first filter value and returns results for the second filter value. Also, filter control(text box) on first column gets cleared.

This is working fine if are setting EnableColumnsViewState=true.

Please provide us fix or work-around to maintain and apply filters on multiple columns one by one.

Regards,
Vishal




Angel Petrov
Telerik team
 answered on 20 May 2014
2 answers
86 views
Hi,

Ok probably doing something wrong but its stumping me.  tyring to get a radtooltipmanager working for instructions for a page.  So if they hover over an image it pops up with the instructions from a database.  The problem is that its is doubling up the information, its like 2 pulls are coming out of the database, so all the text is written and then written agian.

<div class="cancelpg">
           <h3><asp:Label ID="lblInstruct" runat="server">Hover over this <asp:Image ID="imgHover" runat="server" ImageUrl="~/Images/ViewResources.gif" /> for Instructions</asp:Label>
               <telerik:RadToolTipManager ID="rttmInstructions" runat="server" Position="Center" Modal="true" ManualClose="true" OnAjaxUpdate="rttmInstructions_AjaxUpdate">
                   <TargetControls>
                       <telerik:ToolTipTargetControl TargetControlID="imgHover" />
                   </TargetControls>
               </telerik:RadToolTipManager>
           </h3>
       </div>
 
 
Protected Sub rttmInstructions_AjaxUpdate(sender As Object, e As Telerik.Web.UI.ToolTipUpdateEventArgs) Handles rttmInstructions.AjaxUpdate
       Dim lblInsideToolTip As New Label()
       sql = "Select strMessage from iMAC_Message"
 
       myDataTable = New DataTable
       myDataTable = getReader(sql)
 
       If myDataTable.Rows.Count > 0 Then
           lblInsideToolTip.Text = myDataTable.Rows(0)(0)
       End If
 
       e.UpdatePanel.ContentTemplateContainer.Controls.Add(lblInsideToolTip)
   End Sub
Kevin
Top achievements
Rank 1
 answered on 20 May 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?