Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
89 views
Hi,
I don't know what may be the exact reason but my Rad Upload control is not doing anything in test or production server on click of select button and unfortunately we had to roll back the new release.

I am using Automatic Upload where I am calling  an asp button's click event from the javascript function which is called on Rad Upload's OnClientFileSelected event as mentioned in this link:http://www.telerik.com/help/aspnet-ajax/upload-automatically-upload-file.html, Unfortunately when I select a file in the test or production environment it doesnot fire the click event of ASP button. I knew Progress Area needs to be run in full trust so i added
<trust level="Full"/> in my web.config file under <System.Web> still no impact.


Could anybody tell me what may be the reason behind it and in detail how to resolve this asap?
I also have the following entries in my web.config file:
Under <httphandler>:
<add verb="*" path="Telerik.RadUploadProgressHandler.aspx" type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2" />

Uner <httpModules>:
<add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2" />








Regards,
Shubh

Shubh
Top achievements
Rank 1
 asked on 27 Feb 2011
12 answers
136 views
Hi,

We are facing problem to display the radcombox list items. The list was not displayed exact below or above the RadComboBox control. I have attached the screen shot with this mail, please look in to it. Is there any problem in our side please give your suggestions.

Thanks and Regards
ACS
Murali
Top achievements
Rank 1
 answered on 26 Feb 2011
0 answers
63 views
ScrollIntoView works correctly in my TreeViewControl when the height of the control is set to 150px but it seems to do nothing when the height is set to 100%. The control is in an UpdatePanel inside a RadPanel inside a RadSplitter.

Does anyone know what might be wrong?
Peter
Top achievements
Rank 1
 asked on 26 Feb 2011
2 answers
441 views

Hi

I have built a my first database using radgrid, however everytime I change pages (pressing the page numbers at the bottom) or filtering, the page refreshes everytime.

I would like it to act like the example on the following link: 

http://demos.telerik.com/aspnet-ajax/grid/examples/performance/linq/defaultvb.aspx

In this example, only the records change, but the page remains the same.

Could anyone advise what settings I have to change in radgrid in order to achieve this ?

thanks in advance

griselda sirvent
Top achievements
Rank 1
 answered on 25 Feb 2011
0 answers
131 views

When adding more than on control to the RadTabStrip,  the navigation between tabs and the user controls's submit are unable.


If I have just one control everything works fine. the problem appears when adding the second user control to the RadTabStrip.

 Please, any help?


<body>

<telerik:RadTabStrip ID="rtsMain" runat="server" MultiPageID="rmpMain"
    SelectedIndex="0" Skin="Outlook">
    <Tabs>
        <telerik:RadTab runat="server" Owner="rtsMain" Text="Initiate RFP"
            SelectedIndex="0" Selected="True">
            <Tabs>
                <telerik:RadTab runat="server" Selected="True" Text="General Info" PageViewID="rpvInitiateRFP">
                </telerik:RadTab>
                <telerik:RadTab runat="server" Text="Attachments" PageViewID="rpvGeneralInfo">
                </telerik:RadTab>
                <telerik:RadTab runat="server" Text="Service Categories">
                </telerik:RadTab>
                <telerik:RadTab runat="server" Text="Requested Services">
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTab>
        <telerik:RadTab runat="server" Owner="rtsMain" Text="Manage Proposals">
        </telerik:RadTab>
        <telerik:RadTab runat="server" Text="My Tasks">
        </telerik:RadTab>
        <telerik:RadTab runat="server" Owner="rtsMain"
            Text="Opportunities">
        </telerik:RadTab>
        <telerik:RadTab runat="server" Text="Reports">
        </telerik:RadTab>
    </Tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage ID="rmpMain" runat="server" SelectedIndex="0">
    <telerik:RadPageView ID="rpvInitiateRFP" runat="server">        
        <cc:ClientCreate ID="clientCreate1" runat="server" />
    </telerik:RadPageView>
    <telerik:RadPageView ID="rpvGeneralInfo" runat="server">
        <cs:ClientSearch ID="clientSearch1" runat="server" />
    </telerik:RadPageView>
    <telerik:RadPageView ID="rpvAttachments" runat="server">
    </telerik:RadPageView>
    <telerik:RadPageView ID="rpvServiceCategories" runat="server">
    </telerik:RadPageView>
    <telerik:RadPageView ID="rpvRequestedServices" runat="server">
    </telerik:RadPageView>
    <telerik:RadPageView ID="rpvManageProposals" runat="server">
    </telerik:RadPageView>
    <telerik:RadPageView ID="rpvMyTasks" runat="server">
    </telerik:RadPageView>
    <telerik:RadPageView ID="rpvOpportunities" runat="server">
    </telerik:RadPageView>
    <telerik:RadPageView ID="rpvReports" runat="server">
    </telerik:RadPageView>
</telerik:RadMultiPage>
monica
Top achievements
Rank 1
 asked on 25 Feb 2011
4 answers
1.2K+ views
Hello,
I have an ASP.NET Ajax Calendar, with AutoPostBack = false
When client change viewed month I use this event : ClientEvents-OnCalendarViewChanged="postBack"
To call this Javascript function :
           
function postBack(sender, args) {
__doPostBack("<%= RadCalendar1.UniqueID %>", "myArgument");
}


Here is my Page_Load function :

protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                RadCalendar1.SelectedDate = DateTime.Today;
            }
            else
            {
                string eventTarget = (this.Request["__EVENTTARGET"] == null ? string.Empty : this.Request["__EVENTTARGET"]);
                string eventArgument = (this.Request["__EVENTARGUMENT"] == null ? string.Empty : this.Request["__EVENTARGUMENT"]);
                if (eventArgument.Equals("myArgument"))
                {
                    RadCalendar1.SelectedDate = DateTime.Today.AddDays(-10);
 // Just for test
                }
            }
 
            FillHolidayDataset(RadCalendar1.SelectedDate);
        }


The problem is when I change month, I Have this error :

Invalid navigation argument: [myArgument]

[ApplicationException: Invalid navigation argument: [myArgument]]
   Telerik.Web.UI.RadCalendar.RaisePostBackEvent(String eventArgument) +864
   Telerik.Web.UI.RadCalendar.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +176
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563


What's wrong with my doPostBack function ?

Regards
Cemka
Cemka
Top achievements
Rank 1
 answered on 25 Feb 2011
5 answers
151 views
Hi,

I have a form template (EditFormType="Template") in the hierarchical grid (detail table). The template has usercontrol with a radcombo. How can I bind this in the Form Template.

Thank You.
Jonathan
Top achievements
Rank 1
 answered on 25 Feb 2011
3 answers
113 views
When using a RadRotator inside of a RadToolTip the RadRotator does not display. Is there something I can do to get around this?

See this example for more information:
<%@ Page Language="C#" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<script runat="server"
 
</script> 
 
<html xmlns="http://www.w3.org/1999/xhtml"
<head runat="server"
    <title></title
    <telerik:RadCodeBlock runat="server"
 
        <script type="text/javascript" language="javascript"
            function RepaintRotator() { 
                var oRotator = $find('<%= RadRotator_Repaint.ClientID %>'); 
 
                oRotator.repaint(); 
            } 
        </script> 
 
    </telerik:RadCodeBlock> 
</head> 
<body> 
    <form id="form1" runat="server"
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
    </telerik:RadScriptManager> 
    <div> 
        <h1> 
            RadToolTip / RadRotator functionality example</h1> 
        <hr /> 
        <h2> 
            Standard RadToolTip with RadRotator content.</h2> 
        <asp:Label ID="Label_Standard" runat="server" Text="Hover over me! - Standard"></asp:Label> - Display's Tooltip but no Rotator 
        <!-- Does NOT work as expected --> 
        <telerik:RadToolTip ID="RadToolTip_Standard" runat="server" TargetControlID="Label_Standard"
            <telerik:RadRotator ID="RadRotator_Standard" runat="server" Width="40px"
                <Items> 
                    <telerik:RadRotatorItem> 
                        <ItemTemplate> 
                            Item 1 
                        </ItemTemplate> 
                    </telerik:RadRotatorItem> 
                </Items> 
                <Items> 
                    <telerik:RadRotatorItem> 
                        <ItemTemplate> 
                            Item 2 
                        </ItemTemplate> 
                    </telerik:RadRotatorItem> 
                </Items> 
                <Items> 
                    <telerik:RadRotatorItem> 
                        <ItemTemplate> 
                            Item 3 
                        </ItemTemplate> 
                    </telerik:RadRotatorItem> 
                </Items> 
            </telerik:RadRotator> 
        </telerik:RadToolTip> 
        <hr /> 
        <h2> 
            RadToolTip with RadRotator content and OnClientShow repaint.</h2> 
        <asp:Label ID="Label_Repaint" runat="server" Text="Hover over me! - With Repaint"></asp:Label> - Displays Tooltip with Rotator and first item, no rotating. 
        <!-- First item shows with Repaint --> 
        <telerik:RadToolTip ID="RadToolTip_Repaint" runat="server" TargetControlID="Label_Repaint" 
            OnClientShow="RepaintRotator"
            <telerik:RadRotator ID="RadRotator_Repaint" runat="server" Width="40px"
                <Items> 
                    <telerik:RadRotatorItem> 
                        <ItemTemplate> 
                            Item 1 
                        </ItemTemplate> 
                    </telerik:RadRotatorItem> 
                </Items> 
                <Items> 
                    <telerik:RadRotatorItem> 
                        <ItemTemplate> 
                            Item 2 
                        </ItemTemplate> 
                    </telerik:RadRotatorItem> 
                </Items> 
                <Items> 
                    <telerik:RadRotatorItem> 
                        <ItemTemplate> 
                            Item 3 
                        </ItemTemplate> 
                    </telerik:RadRotatorItem> 
                </Items> 
            </telerik:RadRotator> 
        </telerik:RadToolTip> 
        <hr /> 
        <h2> 
            RadRotator without RadToolTip as Control - Works as Expected.</h2> 
        <!-- Works as expected without RadToolTip --> 
        <telerik:RadRotator ID="RadRotator_Control" runat="server" Width="40px"
            <Items> 
                <telerik:RadRotatorItem> 
                    <ItemTemplate> 
                        Item 1 
                    </ItemTemplate> 
                </telerik:RadRotatorItem> 
            </Items> 
            <Items> 
                <telerik:RadRotatorItem> 
                    <ItemTemplate> 
                        Item 2 
                    </ItemTemplate> 
                </telerik:RadRotatorItem> 
            </Items> 
            <Items> 
                <telerik:RadRotatorItem> 
                    <ItemTemplate> 
                        Item 3 
                    </ItemTemplate> 
                </telerik:RadRotatorItem> 
            </Items> 
        </telerik:RadRotator> 
    </div> 
    </form> 
</body> 
</html> 
 

Niko
Telerik team
 answered on 25 Feb 2011
2 answers
115 views
I need a little help executing a SQL Stored Procedure from the Code Behind using OnClientItemDoubleClicked.

Here is my ASPX code for the list box:

<telerik:RadListBox ID="rlb_JobRoles" runat="server"
DataKeyField="RoleName" 
            DataSortField="RoleName"  DataTextField="RoleName" 
            DataValueField="RoleName" Width="245px" OnClientItemDoubleClicked="RemoveJobRole">
</telerik:RadListBox>

And my code behind:

Protected Sub RemoveJobRole(sender As Object, e As System.EventArgs) Handles rlb_JobRoles.SelectedIndexChanged
    Dim DatabaseName As String = rcb_Database.SelectedValue
    Dim MemberName As String = Session("UserInRoleName")
    Dim connectionString = New SqlConnection("server=DO-IT-AB\MSSQLAB;database=AeriesAdmin;UID=itc.sysadmin;PWD=m1s.@dm1n6;")
    Dim command = New SqlCommand("aa_user_drop_role", connectionString)
    command.CommandType = CommandType.StoredProcedure
    command.Parameters.Add("@dbname", SqlDbType.VarChar).Value = DatabaseName + "."
    command.Parameters.Add("@name_in_db", SqlDbType.VarChar).Value = MemberName
    command.Connection.Open()
    command.ExecuteScalar()
    command.Connection.Close()
End Sub

I receive the following error when I open the page:

Error: 'RemoveJobRole' is undefined

Any help much appreciated.



Allan
Top achievements
Rank 2
 answered on 25 Feb 2011
4 answers
143 views
My multiline textbox won't show in the AdvancedInsertTemplate/Edit. I have done nothing to the .css.
 

 

 

<tr>

 

 

 

<td align="right" class="style2" valign="top">

 

Description

 

</td>

 

 

 

<td class="style3">

 

 

 

<asp:TextBox ID="txtDescrip" TextMode="multiline" Text= <%# Bind("Note") %> runat="server"></asp:TextBox>

 

 

 

</td>

 

 

 

</tr>

 

Jeremy
Top achievements
Rank 1
 answered on 25 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
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?