Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
118 views
Hi!

I need to add some simple controllers to appointment part like textboxes and some drops. How to do? Can I add these like resources or do I add these in a advance template.
I like Teleriks appointment and just want to modified it with some.

I found some example of advanced templates with user controls, but it to advance for me. Keep it simple!

May be I can add a placeholder with my controllers in the template...

Please help :)

/Thanks
Peter
Telerik team
 answered on 14 Feb 2011
6 answers
148 views
Hi,

I am working on upgrading an existing application to the latest and greatest controls.  I noticed that the look of my application is now different from the old version currently in production.  It is as if I've lost the skin I was using.  I am even missing some of the icons ("Refresh", for example) and some of the text started to wrap - it doesn't in the old version. 

I've tried to follow this:  http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/all-radcontrols-q3-2008-skins-are-now-compatible-with-the-q1-2009-release.aspx

But I am still relatively new to ASP.NET and I got stuck on Step 3.  Is there more detailed instructions somewhere?

Thanks,
Olga 
Nikita Gourme
Top achievements
Rank 1
 answered on 14 Feb 2011
1 answer
85 views
We bought a developer license, I logged into the website.
I couldn't find instructions anywhere what to do next.
Do I download a trial version and start from there. If so, is there anything I should do in the trial version to change it to "not trial"?
How do I proceed from here?
Emilia
Telerik team
 answered on 14 Feb 2011
7 answers
128 views
We have a module in an application that is based around the RadScheduler.

The module allows a person to create an event and to invite a number of people (1 to 100s) to it.

I've been giving some thought to what we can do with the upgrade to the version of the control that we are using for this module. Currently based on Q1 2009, the RadScheduler has a number of enhancements that I'd like to take advantage of, the first of these for consideration is Reminders.

I'd like to voice a couple of assumptions about how these work and would appreciate a comment on them from someone at telerik towers on whether or not I've got it right.

  1. I assume that the reminder will popup for the creator of the event if that user is inside RadScheduler at or after the time the reminder is due.
  2. I assume that if (1) above is true it is simply the fact that an appointment with a reminder set is loaded in to the RadScheduler that is enough for it to display the reminder.
  3. I assume that if (2) above is true then if the same appointment is loaded in the the RadScheduler of any number of other users at or after the time the reminder was due, that the popup would appear for them too.
  4. I assume from my reading of the docs on the subject that Browser Cookies need to be enabled for the snooze operation to work and not for reminders in general.

In addition to the above, could you tell me whether or not there is any likelyhood of the Reminder popup form being made available for customization.

-- 
Stuart
Mouse
Top achievements
Rank 1
 answered on 14 Feb 2011
6 answers
214 views
In Q2 2010 release, there is a known issue in IE6 and IE7 concerning the decoration of input elements (button and textbox).

To avoid the alignment problem, put the following CSS code in the head section of your page:

<style type="text/css">
    *html .rfdDecorated,
    *html a.rfdSkinnedButton,
    {
        vertical-align: top!important;
    }
      
    *+html .rfdDecorated,
    *+html a.rfdSkinnedButton
      
    {
        vertical-align: top!important;
    }
</style>


This problem will not exist in Q2 2010 SP1.

We apologize for the inconvenience.
Bozhidar
Telerik team
 answered on 14 Feb 2011
2 answers
121 views
Hi everybody,
I'm having trouble with the RadGrid displaying the items from its associated data source. My scenario is as follows:
a user clicks a save-button outside the RadGrid (which itself is in a user control). A modal RadWindow pops up and asks the user for a name to save and then certain database insert-operations take place. After that is successfully done the DataSource of the grid is set to null and the Rebind() is called on the grid. There is a NeedDataSource handler which populates a DataTable and binds it to the DataSource of the RadGrid.
When I check the number of items in the itemcollection I can see that the number has correctly been increased by 1, however that added item
does not display in the grid: I have to click on some button and only then it shows up.

On the other hand if a delete is being done (using a delete button inside the RadGrid) everything works fine, the particular item is immediately removed from the grid. The RadGrid is added to the RadAjaxManager and I'm using Q3 2010. So is there some way to update that view on the itemcollection after an insert ? Any suggestions are highly appreciated.

Thanks, Wolfgang
Wolfgang Sigel
Top achievements
Rank 1
 answered on 14 Feb 2011
1 answer
185 views
Hi everyone,

I did not find any forum posts for this though I would think that someone else would have discovered/had an issue with this by now.  It appears to me that the ConfirmButtonExtender does not work with the RadButton control.  Upon canceling the confirm the Click event code is still called.  Is this expected behavior or a legitimate issue?  I am using the latest SP for Q3 2010 ASP.NET controls (2010.3.1317.35).

Thanks,

Adam.g
Pero
Telerik team
 answered on 14 Feb 2011
2 answers
181 views
Hi,
I am new to Telerik controls so don't understand all of the consepts yet. I have been playing with the Scheduler since it is the first component I need to implement.
I have a SQL Server and I used the datasource wizzard to connect. Things are working just fine. But my real life application needs to connect to many different databases with the exact same structure at run time depending on logged in user (I have several users and each of them have their own database on the same server).

So my question is how can I override the connectionstring (or some other method) in code behind to change the database name just before the Scheduler loads?

Atle

Michael
Top achievements
Rank 1
 answered on 14 Feb 2011
1 answer
89 views
I am currently testing out Trial versions of the ASP.Net AJAX Rad Controls and the RadControls for Silverlight. I have the following in the Visual Studio 2010 project
  • Silverlight 4 Application (SL App) with a RadChart in it.
  • ASP.Net User Control with a reference to the the SL app: <object data="data:application/x-silverlight-2," ...> ... </object>
  • Master Page including the RadScriptManager
  • ASP.Net form with related RadComboBoxes and the above user control
I was trying to refresh the RadChart in the SL App with value from the selected values in the ASP.Net AJAX RadComboboxes. I figured out how to pass parameters to the SL App. However, with the SL App present on the page, the RadComboBoxes do not drop down. Is this a known issue? Is there a fix or a workaround?

I've attached a simpler version of the project for your reference. The outcome is the same whether I use a Master Page or not.
Thank you,

Wes C.

MASTER PAGE
<%@ Master Language="VB" AutoEventWireup="false" CodeBehind="Site.master.vb" Inherits="Teacher_Effectiveness.Site" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head runat="server">
    <title></title>
    <link href="~/Styles/Site.css" rel="stylesheet" type="text/css" />
     
    <asp:ContentPlaceHolder ID="HeadScript" runat="server">
     
    </asp:ContentPlaceHolder>
</head>
<body>
    <form runat="server" id="MasterForm">
      <telerik:RadScriptManager ID="RadScriptMgr" runat="server">
    </telerik:RadScriptManager>
   
    <div class="page">
        <div class="header">
            <asp:ContentPlaceHolder ID="HeadContent" runat="server">
                <div class="title">
                    <h1>
                        Teacher Effectiveness
                    </h1>
                </div>
                <div class="loginDisplay">
                    <asp:LoginView ID="HeadLoginView" runat="server" EnableViewState="false">
                        <AnonymousTemplate>
                            [ <a href="~/Account/Login.aspx" ID="HeadLoginStatus" runat="server">Log In</a> ]
                        </AnonymousTemplate>
                        <LoggedInTemplate>
                            Welcome <span class="bold">
                            <asp:LoginName ID="HeadLoginName" runat="server" />
                            </span>!
                            [
                            <asp:LoginStatus ID="HeadLoginStatus" runat="server" LogoutAction="Redirect" LogoutText="Log Out" LogoutPageUrl="~/"/>
                            ]
                        </LoggedInTemplate>
                    </asp:LoginView>
                </div>
                <div class="clear hideSkiplink">
                    <asp:Menu ID="NavigationMenu" runat="server" CssClass="menu" EnableViewState="false" IncludeStyleBlock="false" Orientation="Horizontal">
                        <Items>
                            <asp:MenuItem NavigateUrl="~/Index.aspx" Text="Home"/>
                            <asp:MenuItem NavigateUrl="~/About.aspx" Text="About"/>
                        </Items>
                    </asp:Menu>
                </div>
                 
            </asp:ContentPlaceHolder>
             
        </div>
        <div class="main">
            <asp:contentPlaceHolder ID="ContentHeader" runat="server">
             
            </asp:contentPlaceHolder>
            <asp:ContentPlaceHolder ID="ContentMain" runat="server">
                      
                 
            </asp:ContentPlaceHolder>
        </div>
        <div class="clear">
        </div>
    </div>
    <div class="footer">
        
    </div>
    <asp:ContentPlaceHolder ID="Script" runat="server">
         
    </asp:ContentPlaceHolder>
    </form>
</body>
</html>

TEST.ASPX
<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="Test.aspx.vb" Inherits="Teacher_Effectiveness.Test" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register TagPrefix="chart" TagName="chart" src="User_Control/Results_By_Achievement_Level.ascx" %>
 
 
 
<asp:Content ID="Content4" ContentPlaceHolderID="ContentMain" runat="server">
    <telerik:RadComboBox ID="RadComboBox1" runat="server">
    </telerik:RadComboBox>
 
   <chart:chart ID="pie" runat="server" />
</asp:Content>

TEST.VB
Imports Telerik.Web.UI
 
Public Class Test
    Inherits System.Web.UI.Page
 
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not Page.IsPostBack Then
            Me.RadComboBox1.Items.Add(New RadComboBoxItem("1"))
            Me.RadComboBox1.Items.Add(New RadComboBoxItem("2"))
            Me.RadComboBox1.Items.Add(New RadComboBoxItem("3"))
            Me.RadComboBox1.Items.Add(New RadComboBoxItem("4"))
        End If
    End Sub
 
End Class

Results_By_Achievement_Level.ascx
<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="Results_By_Achievement_Level.ascx.vb" Inherits="Teacher_Effectiveness.Results_By_Achievement_Level" %>
 
<script type="text/javascript">
      function onSilverlightError(sender, args) {
          var appSource = "";
          if (sender != null && sender != 0) {
              appSource = sender.getHost().Source;
          }
 
          var errorType = args.ErrorType;
          var iErrorCode = args.ErrorCode;
 
          if (errorType == "ImageError" ||
                errorType == "MediaError") {
              return;
          }
 
          var errMsg = "Unhandled Error in Silverlight Application "
                + appSource + "\n";
 
          errMsg += "Code: " + iErrorCode + "    \n";
          errMsg += "Category: " + errorType + "       \n";
          errMsg += "Message: " + args.ErrorMessage + "     \n";
 
          if (errorType == "ParserError") {
              errMsg += "File: " + args.xamlFile + "     \n";
              errMsg += "Line: " + args.lineNumber + "     \n";
              errMsg += "Position: " + args.charPosition + "     \n";
          }
          else if (errorType == "RuntimeError") {
              if (args.lineNumber != 0) {
                  errMsg += "Line: " + args.lineNumber + "     \n";
                  errMsg += "Position: " + args.charPosition +
                        "     \n";
              }
              errMsg += "MethodName: " + args.methodName + "     \n";
          }
 
          throw new Error(errMsg);
      }
 
       
    </script>
<object id="piechart" data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="400" height="400">
    <param name="source" value="ClientBin/RadChart.xap"/>
    <param name="onError" value="onSilverlightError" />
    <param name="background" value="white" />
    <param name="minRuntimeVersion" value="4.0.50401.0" />
    <param name="uiculture" value="<%= System.Threading.Thread.CurrentThread.CurrentUICulture %>" />
    <param name="culture" value="<%= System.Threading.Thread.CurrentThread.CurrentCulture %>" />
    <param name="autoUpgrade" value="true" />
</object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"/>
Simon
Telerik team
 answered on 14 Feb 2011
1 answer
115 views
Hi i had a code like this
<telerik:RadAsyncUpload ID="RadAsyncFile_Upload" runat="server" AllowedFileExtensions="jpg,jpeg,png,gif,doc,pdf,zip,rar" 
                                     MaxFileInputsCount="2"  MaxFileSize="2097152">
                                    <Localization Select="Browse" />
                                    </telerik:RadAsyncUpload>

So i had doubt that how to check the size of both the files on client side so that it should not exceed 2 MB and how do we convert  the files async upload to byte? 
Shinu
Top achievements
Rank 2
 answered on 14 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?