Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
381 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
81 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
98 views
Can I use the peek templates with other controls? Like rotator?

Marty
Marin Bratanov
Telerik team
 answered on 18 Jun 2013
1 answer
68 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
133 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
6 answers
202 views
Hi;

Does Telerik ASP.Net Ajax come with Barcode Generator? If not, is there a recommendation to what product?
Thanks!
..Ben
Marin Bratanov
Telerik team
 answered on 18 Jun 2013
1 answer
82 views
I'm running httpwatch on my teleriks shedueler and i've found a strange Get Request /info sending when opening Advanced form.
I've cannot find whats calling it is there something in teleriks DLL or Js files?
The 404 request in localhost/info ?

Boyan Dimitrov
Telerik team
 answered on 18 Jun 2013
3 answers
101 views
Hi, I am using two RadSlidingPane with the mode with DockOpen="true". One of them an have an option inside with which this tab must stay open while the option is active. So I wrote code in OnClientBeforeUndock and call eventArgs.set_cancel(true) in this case. It works for the first user click on the other tab but if the very next click is again on the other tab, then the event is not triggered and the other tab content is shown.

I also tried to react to the OnClientBeforeExpand on the other tab but with this scenario the event is not triggered on the second click.

Also, when this happen, both tabs are highlighted to show they are selected while only one tab can be selected at a time!

Is it a bug? Is there a workaround or another way to force a tab to stay visible (maybe by disable other tabs but not by hiding them)?

Thanks
Vessy
Telerik team
 answered on 18 Jun 2013
7 answers
156 views
I would like to have the functionality to programmatically insert (presumably HTML) chunks that are deleted entirely if any part of them are deleted. I've found this thread that also asks for the same functionality, but it asks for two pieces of functionality after which the user posted a solution to the other piece of functionality and the thread ends. How can I do this?
Marin Bratanov
Telerik team
 answered on 18 Jun 2013
4 answers
125 views
Hi telerik and community
I've a problem with scheduler control. It's not a really problem but I don't know how i can do this trick.

I'm using radScheduler with entitydatasource and I would like to do this case.

For exemple in my DB I've one appointement from first june to first september and everyday at the same time.

Actually if i set the dataBegin and dataEnd the control rendering is an only one long appointement but I would like to see this same appointement every day at 16pm (for example) from 1june to 1september.

In fact this is not an appointement but playlist and in my DB i've the begin date the end date and the begin time and end time to play everyday

For example  : BeginDate : 1june EndDate 1september BeginTime 16pm EndTime 18pm

Hope someone understand me and help

Sincerly
Romain
Top achievements
Rank 1
 answered on 18 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?