Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
105 views
Hello,

My reminders are set using
DataReminderField="Reminder"
On the aspx page. And I am having a problem with them resetting even after I have clicked on dismiss. They seem to keep popping up every time the page reloads.

On dismiss I set the reminder field on the database to "-1" and then when
protected void SchedAppointments_AppointmentDataBound(object sender, SchedulerEventArgs e)
is called I set my reminders for each of my appointments like so.
if ((Reminder != -1))
{
 
e.Appointment.Reminders.Add(new Reminder(Reminder));
}

Would the Scheduler still find and display the reminder if I do not do this? If so what should I put in my database for it not to be displayed after it has been dismissed instead of "-1"?

Thank you
Phil
Mouse
Top achievements
Rank 1
 answered on 14 Feb 2011
1 answer
63 views
CSS bug (not sure if this is the best place to post it): On the FileExplorer's toolbar in IE7, the right edge of the hovered button is raised. This can be seen on the FileExplorer demos.
Bozhidar
Telerik team
 answered on 14 Feb 2011
1 answer
266 views
Hello,

I'm using the RadTabStrip and RadMultiPage combo with the multipage having the RenderSelectedPageOnly property set to true.  In the current page, the page has a JavaScript method that is the client validation function for a CustomValidator control.  For some reason, when this property is true, that function can't be found.  But with this property as false, the page works as expected; the client validation function runs when the form is being submitted.  The JS function is in the content of the RadPageView that's displayed.  It looks something like this:

<tel:RadPageView runat="server">
.. form ..
<asp:CustomValidator runat="server" .. ClientValidationFunction="cv_Val" />

<tel:RadScriptBlock runat="server">
<script type="text/javascript">
function cv_Val(sender, e) {
//Function for client validation
}
</script>
</tel:RadScriptBlock>
</tel:RadPageView>

With RenderSelectedPageOnly to true, it says cv_Val does not exist.  Why is that?  What would be causing the error?

Thanks.
Dimitar Terziev
Telerik team
 answered on 14 Feb 2011
1 answer
35 views
Hi,

In my application I open a pop-up window on click of a button.

the window is declared as below:
<telerik:RadWindow ID="RadWindowDialog" runat="server" Title="Test" DestroyOnClose="false"
        VisibleTitlebar="false" ReloadOnShow="true" ShowContentDuringLoad="false" OnClientClose="OnClientClose"
        Width="525px" Height="575px" Modal="true">
    </telerik:RadWindow>


The code that i use to open the window:
function ShowEditForm(id, btn, act) {
                var oWnd = $find("<%=RadWindowDialog.ClientID%>");
                oWnd.setUrl("Contact.aspx?Contact=" + id + "&Button=" + btn + "&Act=" + act);
                oWnd.show();
  
  
                return false;
            }
  
function OnClientClose(args) {
                var ajaxManager = $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>");
                var arg = args.argument
                if (arg) {
                    ajaxManager.ajaxRequest("Rebind");
                }
                else {
                }
            }


I have several windows on my page that behave differently, so I find the window by the window ID. 

On my pop-up page I have  an update and a cancel button.
When the user clicks update I close the window and refresh a grid on the parent page in my clientclose event.

If the user cancels out of the pop-up window and click the button to open the pop-up again everything works fine, howvere if the user clicks the update button and then clcik the button on the parent page to go back to the pop-up the window takes really long to load.

Is there something I am doing wrong here. Any thoughts will be appreciated.

Thanks!

Georgi Tunev
Telerik team
 answered on 14 Feb 2011
12 answers
130 views
Hi,
 Can i resize an appointment from both sides?
Veronica
Telerik team
 answered on 14 Feb 2011
1 answer
103 views
I have created a simple searchbox that utilizes RadAjaxManager and RadScriptManager.

When a user enters certain search criterias and clicks the search button, the code behind will perform some checks, and if necessary show a popup with a question using RadWindow (with RadWindowManager).

The RadWindow consists of text that I need to load from the database.
I've tried both setting the text in code-behond by using the RadWindow.ContentContainer.FindControl("myLabel") and setting the text property, and by using <%# GetTextProperty %> in the template itself.

But both lead to this error shown in Internet Explorer 8 (with and without compatibility view enabled):

Line: 6
Error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '  <label><font size='.

If I remove my RadAjaxManagerProxy from the page, no error is given, and RadWindow loads just fine.

In FireFox 3.6 it works just fine with and without Ajax enabled.

Here's a snippet of the RadWindow-declaration:
<telerik:RadWindow runat="server" ID="rwPPRTQuestion" Modal="true" KeepInScreenBounds="true" Width="250px"
        VisibleTitlebar="false" Behaviors="None" InitialBehaviors="None" VisibleStatusbar="false" >
        <ContentTemplate>      
            <div id="frontpagepop">
                <label><asp:Literal runat="server" ID="litRTInfo" Text='<%# InfoChooseRT %>'></asp:Literal></label>
                <br />
                <label><asp:Literal runat="server" ID="litRTQuestion" Text='<%# QuestionChooseRT %>'></asp:Literal></label>               
                <asp:RadioButtonList runat="server" ID="rblRTYesNo" RepeatDirection="Horizontal">
                    <asp:ListItem Text="<%$ Resources: EPiServer, content.booking.common.yes %>" Value="1"></asp:ListItem>
                    <asp:ListItem Text="<%$ Resources: EPiServer, content.booking.common.no %>" Value="0" Selected="True"></asp:ListItem>
                </asp:RadioButtonList>
                <div class="buttons" runat="server" id="div1">
                    <div class="buttonpop">   
                        <asp:LinkButton runat="server" ID="LinkButton1" OnClick="lbContinue_Click"><asp:Literal ID="Literal1" runat="server" Text="<%$ Resources: EPiServer, content.booking.continue %>"></asp:Literal> »</asp:LinkButton>
                    </div>
                </div>     
            </div>
        </ContentTemplate>
    </telerik:RadWindow>


Does anyone have any ideas what could be causing this?

Disabling Ajax is an option, but the customer will not be very happy with it...

Btw, I'm using v2009.3.1314.35 of Telerik
(since this is a part of a large solution, upgrading the Telerik components to the latest version is a big task)
Georgi Tunev
Telerik team
 answered on 14 Feb 2011
4 answers
211 views
I'm going to create a custom provider since I'm going to have multiple schedules available based on the current GroupID that is logged in. I'd like to create the structure to hold the Scheduler information in my existing SQL Express database. Is there a document somewhere on the site that lays out the table structure that Scheduler needs? Tables/Columns Types, etc...Thanks.
Peter
Telerik team
 answered on 14 Feb 2011
1 answer
74 views
Hi,
How can I set the legend font family and font size?  I have tried:

.RadForm_Office2007.rfdFieldset table.rfdRoundedWrapper_fieldset legend,
.RadForm_Office2007.rfdFieldset fieldset.rfdFieldset legend,
.RadForm_Office2007.rfdFieldset table.rfdRoundedWrapper_fieldset fieldset,
.RadForm_Office2007.rfdFieldset fieldset.rfdFieldset
 { font-size:25px;}

to no avail.  Also, is it possible to make the fieldset border straight instead of rounded through css?

Thank you,
David
Georgi Tunev
Telerik team
 answered on 14 Feb 2011
1 answer
56 views
Hi all,

      In my project I need to handle some client side event ,but when I add some code to my .ascx the event isen't detected by intellesense or compilator....!!!!

It's possible to handle a recising event in the server side code !!!!!!!!!!!!!!

Veronica
Telerik team
 answered on 14 Feb 2011
1 answer
67 views
I am trying to highlight the menu item upon clicking and make it highlighted till the next menu item is clicked.
But this doesnot seem to be working.

As per the following link:
http://www.telerik.com/help/aspnet-ajax/menu_appearancecssclassofitems.html

i did this:
<telerik:RadMenu ID="RadMenu1" runat="server" OnItemClick="RadMenu1_ItemClick"><br>  
 </
telerik:RadMenu>

protected void Page_Load(object sender, EventArgs e)  
 {         
 if (!IsPostBack)           
   {                
     displayLinks();
    }                
   }
 private void displayLinks()<br
 {
    RadMenuItem menuItem = new RadMenuItem();
     menuItem.SelectedCssClass = "rmSelected";
     menuItem.Text = "Test";
     menuItem.NavigateUrl =  "www.google.com";
     RadMenu1.Items.Add(menuItem);
  }
Kate
Telerik team
 answered on 14 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?