Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
223 views
Hi, I have a radupload inside a <div> container on my page.  The control always defaults to the left side even though I set the text-align and float properties to "right" in the div as well as in the control.  I need this control to be on the right side of the div.  Please help me with this since it is driving me crazy!!!

Thanks,
Manuel
Shinu
Top achievements
Rank 2
 answered on 08 Jun 2010
1 answer
113 views
Fairly basic question, but one that I have not been able to find the answer to.

I have a page in which I need to set the OnRequestStart of the RadAjaxManager event handler from the client side based on other functions on the page.  I can easily get the reference to the manager on the client; however setting the event handler does not seem to be available?  Is this true?  If not (I hope) what is the correct method?
Nikolay Rusev
Telerik team
 answered on 08 Jun 2010
6 answers
260 views
Okay, so this seems really strange to me.  I've got a RadNumericTextBox.  I have a client-side Javascript function that gets its value using this line...

            var orderTotal = $find('<%= OrderTotal.ClientID %>').get_value();

...for use in some client-side stuff.  This works fine.

However, occasionally the value of this RadNumericTextBox is changed through a CallBack, with the change being made from the Code-Behind.  The value of the RadNumericTextBox changes in the browser, and everything seems to work fine there too.

BUT if I then call the Javascript function again, to get the value, it gives me the old value, as if the CallBack had never been made and the value of the RadNumericTextBox had never been changed.  What is going on?

I need to always be pulling the proper, current value of the RadNumericTextBox with my Javascript function.

Thanks!


Maria Ilieva
Telerik team
 answered on 08 Jun 2010
2 answers
169 views
Hello,

I have a strange situation maybe you can help.

I have a custom control that contains three RadComboBoxes. They have their width set to 60px. In Mozzila and IE 8 they show up just fine , but in Chrome , the Input control has bigger width as you can see from the attached images. I have no custom skin .

<div runat="server" id="ContainerDiv"
    <telerik:RadComboBox ID="cbYear" runat="server" Height="200px" Width="60px" 
                        DropDownWidth="60px"             
                        OnClientLoad="cbYear_Loaded" 
                        OnClientSelectedIndexChanged="cbYear_SelectedIndexChanged"                        
                        OnClientTextChange="cb_OnClientTextChange" 
                        CausesValidation="false" MarkFirstMatch="false" AllowCustomText="false"  > 
 
    </telerik:RadComboBox> 
    <telerik:RadComboBox ID="cbMonth" runat="server" Height="200px" Width="60px" 
                        DropDownWidth="60px"   
                        OnClientSelectedIndexChanged="cbMonth_SelectedIndexChanged" 
                        OnClientTextChange="cb_OnClientTextChange" 
                        CausesValidation="false" MarkFirstMatch="false" AllowCustomText="false" > 
                        <Items> 
                            <telerik:RadComboBoxItem Text="" Value="00" /> 
                        </Items> 
    </telerik:RadComboBox> 
    <telerik:RadComboBox ID="cbDay" runat="server" Height="200px" Width="60px" 
                        DropDownWidth="60px" HighlightTemplatedItems="true" 
                        EnableLoadOnDemand="false" CausesValidation="false"  
                        OnClientSelectedIndexChanged="cbDay_SelectedIndexChanged" 
                        OnClientTextChange="cb_OnClientTextChange"    
                        OnClientLoad="cbDay_Loaded"                     
                        MarkFirstMatch="false" AllowCustomText="false"
                        <Items> 
                            <telerik:RadComboBoxItem Text="" Value="00" /> 
                        </Items> 
    </telerik:RadComboBox> 
</div> 

Please advise on this situation.

Thank you
Bogdan Cucosel
Top achievements
Rank 1
 answered on 08 Jun 2010
1 answer
237 views
How can I pass some arguments into the custom file system provider? The FileExplorer takes a TYPE but it instantiates the class on it's own... I need to be able to pass in arguments or one of our custom business objects so that it has a reference to where the data will be coming from..

Also, how can I get a reference to that provider or to the current data tree from my page? I want to be able to persist from the explorer by serialization etc. I see that FileExplorer.TreeView.GetXML() and that's close but I need the one with ALL of the data (files and directories)

Thanks
Fiko
Telerik team
 answered on 08 Jun 2010
2 answers
115 views

Hey, I'm looking for some advice on how to use History Points with the Rad ASPNET Ajax 2010 controls.

I'm currently saving history points no problem. I'm lacking the code to "restore" a history point. I find that the Navigate event on the script manager doesn't seem to fire when using the forward/back broswer buttons. If I turn the ajax off on the panel... the event fires. Is there a way to get the script manager Navigate event to fire inside of an ajaxified radajaxpanel? Thanks in advance for any help.

<telerik:radscriptmanager runat="server" EnableHistory="True" ID="ScriptManager"></telerik:radscriptmanager> 
 
<telerik:radajaxpanel runat="server" LoadingPanelID="LoadingPanel" ID="AjaxPanel" Wrap="False">  
 
........... OBJECTS IN HERE .................
  
</telerik:RadAjaxPanel> 
 
 
Protected Sub ScriptManager_Navigate(ByVal sender As ObjectByVal e As System.Web.UI.HistoryEventArgs) Handles ScriptManager.Navigate  
        Page.Title = "TEST" 
End Sub 
Maria Ilieva
Telerik team
 answered on 08 Jun 2010
1 answer
110 views
For some reason even after clicking on the Cancel button inside my User Edit Control although it appears to close there is still a small thin blue line underneath it. If something refreshes the page it reopens without Edit being clicked on.

The HTML for this thin blue line looks like this:

<tr>
    <td style="vertical-align: top;" colspan="11">
        <div class="rgEditForm">
            <div style="width: 98%; margin: 0pt 1%;" class="RadGrid RadGrid_Office2007" id="ctl00_mainContentPlaceHolder_rgTicketGrid_ctl00_ctl25_EditFormControl_rgApprovalGrid">
                <input type="hidden" name="ctl00_mainContentPlaceHolder_rgTicketGrid_ctl00_ctl25_EditFormControl_rgApprovalGrid_ClientState"                id="ctl00_mainContentPlaceHolder_rgTicketGrid_ctl00_ctl25_EditFormControl_rgApprovalGrid_ClientState" autocomplete="off">
            </div>
        </div>
    </td>
</tr>

The cancel button inside the form looks like
<asp:ImageButton CommandName="Cancel" runat="server" Visible="true" ID="BtnCancelRemove"
                         AlternateText="Close" Style="float: right" ImageUrl="~/Images/error.gif" />

The button to open the edit form is
                        <asp:Button ID="ApprovalView" runat="server" Text="View" CommandName="Edit" CommandArgument="View" />

Anyone who has an ideas it would be appreciated.
Veli
Telerik team
 answered on 08 Jun 2010
1 answer
222 views
I created an user control with RadTabStrip and RadMulitipage.It is placed in a Radpane in MasterPage.Content page(.ascx file) loaded dynamiclly into Multipage,Tabstrip is used to be a navigation.I built some reports.the reportviewer has it's own scrollbar,Both X and Y.when the content area is larger than the viewer's original size,it ugly. I want the reportviewer to fullfill the content area,the scorllbar of X is placed on the bottom and the Y bar is placed on the right.

what should i do?

Thanks
Sebastian
Telerik team
 answered on 08 Jun 2010
1 answer
97 views
Here are the things I'm trying to do with Explorer

1) Add / remove context menus in different situations (files vs folders for example) (maybe that could be done client side)
2) Server side events on context menu's (I've been trying to figure that one out to no avail)  They're not firing on any delegate I set..
3) Fire client side events upon server side events such as Item_Command etc.. (ScriptManager.register script??? )  OR display some kind of message / popup when we cancel = true on a move for example...
Thanks..

4) What is the difference between FileBrowserContentProvider and FileSystemContentProvider

The example of adding a custom column (which I need to do) uses FileSystem and the example of custom content (from database) uses FileBrowser (I need to do both)

5) How do I get the grid (within the file explorer) to scroll left and right as I add more columns)

Thanks
Fiko
Telerik team
 answered on 08 Jun 2010
1 answer
131 views
hi

how can i generate an automatic date picker on my addnewrecord command in datagrid?

because when i tried this message appears at GridDateTimeColumn : "Telerik.Web.UI.GridInsertionObject"

thanks

regards
webster
Shinu
Top achievements
Rank 2
 answered on 08 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
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?