Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
189 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
242 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
62 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
76 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
80 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
155 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
1 answer
92 views
so i used itemtemplate, i have a repeater than contains a "items", an item = div that contains image+text.
The problem happens only in firefox 3.6 (not sure about previous versions), it is not present in IE or google chrome.
The problem is :
The items are wrapped inside a div with scrollbar on overflow, when the page load first there is no problem, but once i move the scrollbar, the collapse/expand will make the whole screen to "refresh-jump", for some reason the scrollbar position is persisted in firefox, so i guess the problem happens when the browser tries to reposition the scrollbar on refresh. In IE, Chrome, it is not the case, when i expand, it will bring an empty scrollbar always.
any solution for this problem ?

Thanks
Yana
Telerik team
 answered on 02 Mar 2010
1 answer
47 views
What would be the easiest way to print multiple editor fields?

I need a print button separate from the built-in-to-editor button that can print out each field one after the other with some heading/footer added.
I'd prefer using crystal reports if I can (is that possible) , but printing from the browser would work too.

My page has multiple editors in a formview displaying Text=Content for different TEXT-type fields, and this is working nicely. Now I'm adding a print button. I'd prefer they dont have to save to database before printing their new input

Thanks
Rumen
Telerik team
 answered on 02 Mar 2010
7 answers
143 views
hi
i made a custom skin for the menu.
but the z-index of the  sub items not so big.
on my page i also have rad window.
where i can change the z-index of the sub-items  of the skin, so the subitems of the menu will be above the rad - windows
i deveoping these website
http://213.154.244.55/EfFect/index.aspx
username: was
password:  was
Yana
Telerik team
 answered on 02 Mar 2010
1 answer
105 views
Hi all, i'm developing a webpage that shows the evolution of a variable.

The case is that the serie has a lot of points, and I need to Zoom In/Out to see with detail and hide items labels using a tooltip to view a detail of the value/date of the point.

The problem is that it seems not possible to see the tooltips (even if ClientSettings.EnableZoom = false) when ScrollMode is activated (!= None).

Is possible to get zoom and tooltips working together?. Put a piece of code illustrating the solution.

Thanks.
Giuseppe
Telerik team
 answered on 02 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?