Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
173 views

Hello,

It's installed "RadControls for ASP.NET AJAX Q2 2009 SP1" and "Microsoft ASP.NET 2.0 AJAX Extensions v1.0.61025" on my computer. When I run Live Examples -> Scheduler -> Populating With Data -> XML Provider, double click an appointment, set a "Daily Recurrence Rule" for it and press Save, I got an JavaScript alert telling that "Object reference not set to an instance of an object.". There is no problem with other type of recurrence rules (Hourly, Weekly, Monthly and Yearly). I also tried other examples (e.g. Database Provider), and I had the same problem with them also saving with a daily recurrence rule.

Could anyone please help me solving this problem?

Thank you,

Afsar.

Dimitar Milushev
Telerik team
 answered on 02 Mar 2010
5 answers
132 views
Hi there,

I've been using NHibernate Burrow and ASP .Net Telerik Controls in an application. Everything worked well until I recently upgraded from 2009 Q1 to 2009 Q3. It seems that the way DialogHandler now constructs the dialog page causes issues with NHibernate burrow - I'm getting NullRefException on PreRender. I guess Burrow tries to find the page form to insert the Burrow place holder. If I take the burrow module out all works well.

Anybody came accross similar problem or does anyone know what change or suggest a work-around ?

Many  thanks,
Mira
Rumen
Telerik team
 answered on 02 Mar 2010
1 answer
103 views
Hi,

I have ItemTemplate Column for Price , Qty and Amount. i want to calculate Amount without post backing to Server.
as i press key in qty or Price the amount must be calculated into AMount Column.

Thanks in Adv.

Shinu
Top achievements
Rank 2
 answered on 02 Mar 2010
1 answer
386 views
hi,

I have text box and it display some text. I want to copy that data to the clipboard when i click on button.
is their any way to dong this. As well as i want to check this in both IE and Mozilla browser.
please help me as soon as possible, this is urgent.

thanks

waruni
Daniel
Telerik team
 answered on 02 Mar 2010
1 answer
195 views
I have 3 treeviews on one page.  How can I get them to display horizontally instead of vertically.  I tried the usual things, uisng divs with display inline, but am having no luck.

Thanks!
Yana
Telerik team
 answered on 02 Mar 2010
1 answer
249 views
I've build a custom advanced edit/insert template based on the example advanced template (http://demos.telerik.com/aspnet-ajax/scheduler/examples/advancedformtemplate/defaultcs.aspx).  My changes are basically just removing the resources and adding some custom attribute fields.  Other than that, it's the original code from the example.

Everything is working great except that none of the client side javascript appears to work.  The specific instances that are not working are:
--Calendar and Time pickers do not display when you click on the date or time fields
--The recurrence panel does not display when you check the recurrence checkbox.

There is probably some little thing I'm missing in my setup.  :-)

Here are some code snippets:

In the master page:
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" OutputCompression="Disabled" ScriptMode="Debug"> 
      <Scripts> 
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js"> 
        </asp:ScriptReference> 
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js"> 
        </asp:ScriptReference> 
      </Scripts> 
    </telerik:RadScriptManager> 
  <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1"> 
  </telerik:RadAjaxManager> 
  <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" InitialDelayTime="200" 
    MinDisplayTime="500" Skin="Default" Transparency="50"> 
  </telerik:RadAjaxLoadingPanel> 

In my schedule.aspx page:
  <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"> 
    <AjaxSettings> 
      <telerik:AjaxSetting AjaxControlID="RadScheduler1"> 
        <UpdatedControls> 
          <telerik:AjaxUpdatedControl ControlID="RadScheduler1" /> 
        </UpdatedControls> 
      </telerik:AjaxSetting> 
    </AjaxSettings> 
  </telerik:RadAjaxManagerProxy> 
 
  <telerik:RadScheduler ID="RadScheduler1" runat="server" ProviderName="GmriAppointmentProvider" 
    EnableDescriptionField="True" EnableRecurrenceSupport="False" CustomAttributeNames="Style, BusStatus, VisitStatus, ItemType" 
    SelectedView="MonthView" Width="700px" StartInsertingInAdvancedForm="True"  
     OverflowBehavior="Expand" Skin="WebBlue" EnableCustomAttributeEditing="True"  
     OnAppointmentDataBound="RadScheduler1_AppointmentDataBound"  
     OnAppointmentUpdate="RadScheduler1_AppointmentUpdate"  
     OnAppointmentCommand="RadScheduler1_AppointmentCommand"  
     OnDataBinding="RadScheduler1_DataBinding"  
     OnDataBound="RadScheduler1_DataBound" > 
    <AdvancedEditTemplate> 
      <Gmri:SchedulerGenericEditTemplate runat="server" ID="GenericEditForm" Mode="Edit" 
            Subject='<%# Bind("Subject") %>' 
            Description='<%# Bind("Description") %>'  
            Start='<%# Bind("Start") %>' 
            End='<%# Bind("End") %>' 
        Style='<%# Bind("Style") %>'  
        BusStatus='<%# Bind("BusStatus") %>' 
        VisitStatus='<%# Bind("VisitStatus") %>'  
        ItemType='<%# Bind("ItemType") %>' 
    /> 
    </AdvancedEditTemplate> 
    <AdvancedInsertTemplate> 
      <Gmri:SchedulerGenericEditTemplate runat="server" ID="GenericInsertForm" Mode="Insert" 
            Subject='<%# Bind("Subject") %>' 
            Description='<%# Bind("Description") %>'  
            Start='<%# Bind("Start") %>' 
            End='<%# Bind("End") %>' 
        Style='<%# Bind("Style") %>'  
        BusStatus='<%# Bind("BusStatus") %>' 
        VisitStatus='<%# Bind("VisitStatus") %>' 
        ItemType='<%# Bind("ItemType") %>' 
      /> 
    </AdvancedInsertTemplate> 
    <AdvancedForm EnableCustomAttributeEditing="True" /> 
  </telerik:RadScheduler> 
 

And finally, in my AdvancedForm.ascx
<asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server"> 
  <Scripts> 
    <asp:ScriptReference Path="~/includes/js/AdvancedForm.js" /> 
  </Scripts> 
</asp:ScriptManagerProxy> 

I also added the inline script in the example to the end of the AdvancedForm.js file.

I originally tried having the inline script and the reference to AdvancedForm.js directly in the file schedule.aspx but changed the implementation to that listed above based on using the ScriptManager after reading about scripts not running in update panels.


I'm hoping another set of eyes looking over things will spot something that I missed. :-)


Peter
Telerik team
 answered on 02 Mar 2010
1 answer
66 views
I have just added a Flash movie to my home page and on Firefox and Chrome (PC versions only) the drop-down menu item open UNDERNEATH the Flash movie. You can see this by going to

My menu bar is part of my Master Page.

http://www.cruisereport.com

And select any item in Destinations, Reviews, News menus, etc.

Also, I am using a RadWindow on that page and it opens underneath the Flash Movie also

I have tried setting z-indexes but I am not having any luck
Kamen Bundev
Telerik team
 answered on 02 Mar 2010
1 answer
83 views
I have just added a Flash movie to my home page and on Firefox and Chrome (PC versions only) the drop-down menu item open UNDERNEATH the Flash movie. You can see this by going to

http://www.cruisereport.com

And select any item in Destinations, Reviews, News menus, etc.
Kamen Bundev
Telerik team
 answered on 02 Mar 2010
4 answers
86 views
Hello,

I need to avoid the user to change the text content of some elements in the edited text, is there any soltion for this.

Thanks for help.
CS
CSurieux
Top achievements
Rank 2
 answered on 02 Mar 2010
3 answers
156 views
Hi

I got  row edit and cancel .But I Am click Add new record that radgrid is clear in first time than again am select combo box value the new records display.why first it,s clear how to solve that this. my code id below when ever am click add new record the radgrid is clears how to solve that .

 protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            SqlConnection con = new SqlConnection("Data Source=SAMA\\SQLEXPRESS;Initial Catalog=pinfo;Integrated Security=True");
            con.Open();
            SqlDataAdapter da = new SqlDataAdapter("select * from sch_view_class_lookup",con);
            DataSet ds = new DataSet();
            da.Fill(ds);
            RadComboBox1.DataSource = ds;
            RadComboBox1.DataTextField = "class";
            RadComboBox1.DataValueField="class_id";
            RadComboBox1.DataBind();
        }
    }
    protected void RadGrid1_PageIndexChanged(object source, Telerik.Web.UI.GridPageChangedEventArgs e)
    {
        getdata();
    }
    protected void RadGrid1_SortCommand(object source, Telerik.Web.UI.GridSortCommandEventArgs e)
    {

    }
    protected void RadComboBox1_SelectedIndexChanged(object o, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e)
    {
        getdata();
    }
    public void getdata()
    {
        SqlConnection con = new SqlConnection("Data Source=SAMA\\SQLEXPRESS;Initial Catalog=pinfo;Integrated Security=True");
        con.Open();
        SqlDataAdapter da = new SqlDataAdapter("select * from sch_view_sch_student_remark_list where class_id='" + RadComboBox1.SelectedValue + "'", con);
        DataSet ds = new DataSet();
        da.Fill(ds);
        RadGrid1.DataSource = ds;
        RadGrid1.DataBind();
    }
    protected void RadGrid1_EditCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)
    {
        getdata();
    }

    protected void RadGrid1_CancelCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)
    {
        getdata();
    }
 
thanks and regards
shanker.B
Pavlina
Telerik team
 answered on 02 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?