Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
109 views
HI,

I have a grid with a timer and ajax so that it refreshes every 15 seconds and set AllowAutomaticInserts='true".
One 'add new record' -  in the insert command I am setting Timer1.Enabled = False
How do I start the timer again once the record is inserted please?

Cheers,
Jon
Jon
Top achievements
Rank 1
 answered on 28 Feb 2011
3 answers
111 views
Hi all, 

I have a problem with dynamically created docks, whereby the layout is loaded from a database for the current user. The problem is with saving the dock layout when a change is made - I am saving the current dock layout in the SaveDockLayout event handler, and I know that I have to recreate the docks on each postback (done in Page_Init), yet my problem is that Page_Init fires before the SaveDockLayout event, thus loading the user's current settings from the database and effectively resetting the dock layout back to the user's database settings before I get the chance to save the current layout.

I have pretty much followed the structure from the "My Portal" example from the demos page, and can't figure out how it is saving the state before the docks are loaded from CurrentDockState.

Am I missing something here?
Ryan
Top achievements
Rank 1
 answered on 27 Feb 2011
0 answers
96 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
140 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
81 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
465 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
140 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.3K+ 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
171 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
137 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?