Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
131 views
Hi,

In my radgrid, I have AutoGenerateColumns == true.
I also have one column defined myself in the aspx file in the <Columns> section.

This column I have defined, will always appear BEFORE the auto generated columns, how can I get it to appear as the LAST column? So after the auto generated columns?

I already tried to use SwapColumns() function in the OnColumnCreated event, but that did not work.

Kind Regards,
Raymond
Princy
Top achievements
Rank 2
 answered on 14 Jan 2010
1 answer
791 views
Is there a way for me to alter the icons in the grid without having to specify them in each and every grid design mode?
Dimo
Telerik team
 answered on 14 Jan 2010
1 answer
85 views
Hi,

I have a RadGrid, and I know the InsertForm is opened (RadGrid1.MasterTableView.IsItemInserted == true).

How can I now get the InsertForm? This code is not executed inside a RadGrid event call, so I do not have any eventargs to get the inserted item or InsertForm from... 
I need a control on the current insertForm, and MasterTableView.Findcontrol() does not work...

Kind Regards,
Raymond
Shinu
Top achievements
Rank 2
 answered on 14 Jan 2010
2 answers
427 views
On my .ASPX page I have:
<head id="Head1" runat="server">     
    <title></title>     
    <script type="text/javascript" src="swfobject.js"></script>     
</head>     
<body>     
    <form id="form1" runat="server">     
    <div>     
             
       <telerik:RadScriptManager ID="RadScriptManager1" runat="server">     
        </telerik:RadScriptManager>     
        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server"  LoadingPanelID="RadAjaxLoadingPanel1">     
  <asp:ImageButton ID="btnPrev" runat="server" onclick="btnPrev_Click"  ImageUrl="images/btnPrev.png"/>  
<asp:ImageButton ID="btnNext" runat="server" onclick="btnNext_Click" ImageUrl="images/btnNext.png"/></td>  
                      
                          
<div id="flashContent">     
                                 
                            </div>     
  </telerik:RadAjaxPanel>     
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">     
        </telerik:RadAjaxLoadingPanel>     
 

When I click the IMageButtons I need the scriptmanager to execute a javascript function that is in the swfobject.js file. I can get this to happen on the Page_Load (below) but not on the button clicks. What do I need to do to fire off a javascript function on AJAX postbacks?

sSWF += @"<script type=""text/javascript"">";  
        sSWF += @"var flashvars = false;";  
        sSWF += @"var params = { menu: ""false"", flashvars: ""FMSServerURL=" +  
            sServer + "&sID=" + sStreamID +  
            "&imgURL=" + imageURL + @""" };";  
        sSWF += @"   var attributes = { id: ""myDynamicContent"", name: ""myDynamicContent"" };";  
        sSWF += @"swfobject.embedSWF(""presoViewer.swf"", ""flashContent"", """ + swfWidth + @""", """ + swfHeight + @""", ""9.0.0"", """", flashvars, params, attributes);";  
        sSWF += "</script>";  
 
 
                Type cstype = this.GetType();  
 
        ClientScriptManager cs = Page.ClientScript;  
 
          
             cs.RegisterStartupScript(cstype, "SWFScript", sSWF, false);  
         
Suneco
Top achievements
Rank 2
 answered on 14 Jan 2010
1 answer
91 views
I have a question about the OnClientNodeClicking event which fires right before postback. The get_node() retrieves a reference to the clicked on node. I am wondering if there is any way that I can determine which node the user came from (i.e. not the node that there are going to, but rather the node they were on before). The get_node().get_text() tells me the text of the node that the user clicked on, but I need to get the text of the node that they were previously on.
Shinu
Top achievements
Rank 2
 answered on 14 Jan 2010
12 answers
141 views
Hi
I used radtabstrip control in my .net application.In IE8 if there was a scroll in the page due to increased content length, the background images used in tabs of the radtabstrip control also came down on scrolling the page.I am not facing this problem in IE7.Please help asap.
Kamen Bundev
Telerik team
 answered on 14 Jan 2010
1 answer
122 views
When I use a RadEditor inside a RadWindow, then clicking the 'W3C' button (for example) opens a modal dialog window inside the RadWindow. When the enclosing RadWindow is fairly small (low resolution monitor), the W3C dialog window dimensions are larger than those of the enclosing RadWindow. The dialog window cannot then be closed because its top bar is outside the visible area of the RadWindow. Maximising the enclosing RadWindow does not bring the dialog window back into view, the top bar of the dialog window remains 'off-screen'.

Is there any way to force modal dialogs inside rad-windows to always open with dimensions that fit inside that RadWindow? I have tried using 'KeepInScreenBounds' but it does not work, as it seems to keep within the browser window, rather than the enclosing frame.
Svetlina Anati
Telerik team
 answered on 14 Jan 2010
5 answers
288 views
I am Using  Telerik V2008.3 1314 .
I am Using Radwindow to edit or Create an Appointment. But i have Problems with the start time Query Parameter.

The javascript on radscheduler is 
var start = formatDate(eventArgs.get_startTime());
for the above, i am getting the start time as 200903160200 where as my PC time is 12:52 pm

So how to get the exact time as clicked on the scheduler and convert to DateTime Object at serverside.?


Peter
Telerik team
 answered on 14 Jan 2010
1 answer
305 views

Hi ,

Hidden filed value not updated on server side if changed by java script

How do i confiqure Hidden Fields in RAdAjaxMAnager

Kali Raj P
Tsvetoslav
Telerik team
 answered on 14 Jan 2010
1 answer
105 views
Hiya. Within SharePoint I am now using the Editor Lite to give users an nicer interface while composing content - which I am then referencing within a Workflow when sending out newsletters. The Workflow is picking up all of the line breaks within the HTML and automatically appending BR tags to tne end of each line - is there anyway that I can extend Editor Lite to automatically remove all line breaks before an Item is saved? Many thanks.
Stanimir
Telerik team
 answered on 14 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?