Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
178 views

I'm trying to access the AdvancedEditForm save button to disable in a certain case and looking at AdvancedForm.ascx, I should be able to get to it by using:

protected void RadScheduler1_FormCreated(object sender, SchedulerFormCreatedEventArgs e)
    {
  
        if (e.Container.Mode == SchedulerFormMode.AdvancedInsert)
        {
            ((LinkButton)((Panel)e.Container.FindControl("ButtonsPanel")).FindControl("UpdateButton")).Enabled = false;
        }
    }

Unfortunately the program throws an "Object reference not set to an instance of an object." when it runs into that line of code. How can I access the save button? Please note I need to do it in the FormCreated event because I need to know the SchedulerFormMode value.

Also, how would I access the room and user resource dropdowns?

Thanks,
Matt

Boyan Dimitrov
Telerik team
 answered on 18 Jun 2013
2 answers
92 views
Hi,
Can I have each tile with more images instead of just one?
My objectives is to have each tile to represent each of my projects(e.g ProjectA, ProjectB).
In ProjectA and ProjectB, i have 10 images, i want the tile to scroll through the images? I notice the example only have 2 images and text. Can i do that? couldnt find it in the documentation as well.

Please advise.

Thanks.

CH
Top achievements
Rank 1
 answered on 18 Jun 2013
1 answer
126 views
Good day I have an issue using the radchart control, when I use the configuration wizard to configure my chart , like for instance remove or add series to the chart the changes are not saved. I can run the application an the chart loads fine, but when coming back to design view and now running the configuration wizard again all my series are gone and there is just one series remaining that reads 'Databound Col 1'
However when I look at the chart series collection editor my series are still there? It seems as though something is out of sync here

Any help would be appreciated thanks
Rosko
Telerik team
 answered on 18 Jun 2013
4 answers
116 views
 Hello,

I have one small issue. I have used rad editor inside a panel bar.
When I open one of the panel item, rad editor size decreases automatically.
Why this is happening? Can you suggest me some solution?
Ivaylo
Telerik team
 answered on 18 Jun 2013
3 answers
156 views
Was curious is there were any predefined CSS for tile colors? - to keep things Theme consistent.  I know radScheduler has these for Appointments - thought it might make sense here as well.
Bill
Marin Bratanov
Telerik team
 answered on 18 Jun 2013
3 answers
371 views

How can I add a confirmation message "Please confirm that you want to proceed with the selected value. Click OK to proceed." when rb1 value is changed? If user clicks OK then it should execute rb1_SelectedIndexChanged, otherwise it should not.

<asp:RadioButtonList ID="rb1" runat="server" OnSelectedIndexChanged="rb1_SelectedIndexChanged" AutoPostBack="true">
                        <asp:ListItem Value="1">1</asp:ListItem>
                        <asp:ListItem Value="0">0</asp:ListItem>  
</asp:RadioButtonList>
  
code behind:
protected void rb1_SelectedIndexChanged(Object sender, EventArgs e)
    {                               
           --call a stored procedure to update the database with the newly selected  rb1.Value
    }
Lisa
Top achievements
Rank 1
 answered on 18 Jun 2013
1 answer
73 views
I am experiencing odd behaviour with peek template animations under the default android browser (fine in other platform/browser combinations)

I am guessing this is something similar to the RadRotator RelativeWrapper issue?

With Rotator this fix works;
.RadRotator .rrRelativeWrapper {
    overflow: hidden;
}

Can you let me know the equivalent css class names for TileList so I can see if this is the case please.
Marin Bratanov
Telerik team
 answered on 18 Jun 2013
5 answers
90 views
Can I use the peek templates with other controls? Like rotator?

Marty
Marin Bratanov
Telerik team
 answered on 18 Jun 2013
1 answer
58 views
Hi,

I posted a major issue that happened in the Q2 Beta:
http://www.telerik.com/community/forums/aspnet-ajax/beta/problem-with-height-of-dock.aspx

You said that this would be solved in the Q2 release, but it isn't solved...
The link to my original thread doesn't work anymore so here we go again:

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="dock.aspx.vb" Inherits="TestaTredjepartWeb.dock" %>
 
<!DOCTYPE html>
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:ScriptManager ID="s" runat="server" ScriptMode="Debug">
            </asp:ScriptManager>
            <telerik:RadDockZone runat="server" ID="dz" RenderMode="Lightweight">
                <telerik:RadDock runat="server" ID="RadDock2" RenderMode="Lightweight">
                    <ContentTemplate>
                        <asp:Button ID="btn" runat="server" Text="Click me" OnClientClick="var divExpand = $get('divExpand'); if(divExpand.style.display=='none') divExpand.style.display='block'; else divExpand.style.display='none'; return false;" />
                        <div id="divExpand" style="display: none">
                            Expanded
                        </div>
                    </ContentTemplate>
                </telerik:RadDock>
            </telerik:RadDockZone>
        </div>
    </form>
</body>
</html>

Clicking on the button works just fine initially, the dock sizes with the content.
But after collapsing and expanding the dock, the dock doesn't resize anymore!!!

Is there any workaround?

Regards
Caesar
Danail Vasilev
Telerik team
 answered on 18 Jun 2013
3 answers
118 views
Hi.  I need some guidance with the Scheduler. Im basically retrieving a a list of records from the DB using the EF.  I am currently binding this to the scheduler and it works like a charm. I am also populating a grid view right under my scheduler with all the appointments irrelevant of what current month the scheduler is on.

Now, i have a new requirement whereby i only show the appointments in the grid and scheduler of the selected months. So i need to filter my results (list) when the user selects the left or right arrow to cycle through the months.  I will then need to identify the start date and end date of that month and filter with a where clause on the list i have in real time. 

What event must i use to be initiated once the user selects one of this arrows which will also provide me the next/previous months and their days?

Is this possible please? I have been searching many examples, though i keep finding examples of specific people that fit to their needs. I do feel that im close but cant get around it.

I am currently binding my scheduler this way and listing everything.. So i just need to do the same thing but filtering using a where clause in the entity framework by getting the start date and end date of the month the user has selected.
private void BindScheduler()
        {
            #region Scheduler
            List<AppointmentInfo> appList = new List<AppointmentInfo>();
 
            DateTime startDate, endDate; // Coming from the db, just removed the code below in the for loop.
            string name;
             
            for (int schedCount = 0; schedCount <= _groupScheduleList.Count - 1; schedCount++)
            {
                Appointment appSched = new Appointment();
 
                appSched.ID = schedCount;
                appSched.Start = startDate;
                appSched.End = endDate;
                appSched.Subject = name;
 
                AppointmentInfo appI = new AppointmentInfo(appSched);
 
                appList.Add(appI);
            }
 
            timeSlotScheduler.DataSource = appList;
            timeSlotScheduler.DataBind();
            #endregion
        }


Update:
Im going to see if i will manage using e.Command.ToString(); I will then know if i can add months or minus.. will see if i sort out what i need this way.
Kyle
Top achievements
Rank 2
 answered on 18 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?