Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
133 views
Hello,

I have a floting dock and I want to store ist position in cookie.
Sample with save and load position seems to be not working in this case ?
And 
http://www.telerik.com/community/forums/aspnet-ajax/docking/portalsite-demo-database-c-and-vb-net.aspx
is not concerning this problem.

Thanks for help.
CS
CSurieux
Top achievements
Rank 2
 answered on 06 Mar 2009
1 answer
140 views
Hello,

I have started searching RadWindow control. First tell that I am changing all the controls I had before by the telerik ones.

So I have got a page call Exceptions.aspx where I have the following code:
           <asp:Panel ID="pnlModal" CssClass="modal_ventana" style="display:none" runat="server">
                <table class="Person" width="100%">
                            <tr>
                            <td align="center"><img id="imgIcoEliminar2" runat="server" src="~/_Img/Ico32/IcoCancelar.png" align="middle"/>
                            </td>     
                            <td class="titExcepcion">&nbsp;&nbsp;SE HA PRODUCIDO UN ERROR EN LA APLICACIÓN.</td>
                            </tr>
                 </table>
           </asp:Panel>

           <cc1:ModalPopupExtender ID="btnAceptar_ModalPopupExtender" runat="server"
                PopupControlID="pnlModal"
                DropShadow="true"
                TargetControlID="Label1"                 
                BackgroundCssClass="modal_ventana_fondo">
            </cc1:ModalPopupExtender>

The content of this Popup is in the same page, for so I use an <asp:Panel>. I make a reference from the code you have seen above
(PopupControlID="pnlModal") and then the code which is between <asp:panel> is executed in the popup.

In few examples I have seen that radwindow uses a navigateUrl property and in this page will be written the code for popupwindow. I would like to do something similar to I had before, to reference to an asp:panel (I don´t know whether there is a similar control for telerik) and to write in the same page.

I hope you can help me and feel free to ask because my english is not the best.

Thank you in advance.
Fiko
Telerik team
 answered on 06 Mar 2009
0 answers
97 views
I have custom AdvancedEditTemplates with button with Update command, but I want NOT to close the EditForm when the appointment is succesfully updated. How can I do this?
aaa
Top achievements
Rank 1
 asked on 06 Mar 2009
1 answer
162 views
Hi

I am trying to run some code behind based on the SelectedItemChanged event of RagdGrid1.
I have this running OK in a standard aspx page but I am trying to use the same approach
with the Grid in a master page.   How do I reference the RadGrid from the child page?

I am trying this:

Imports 

 

Telerik.Web.UI

 

 

 

Partial Class latour

 

 

 

Inherits System.Web.UI.Page

 

 

 

 

Protected Sub RadGrid1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGrid1_SelectedIndexChanged  
        Dim strUnitOfSale, strName, strVintage, strProductCode As String  
        Dim RadGrid1 As RadGrid  
        RadGrid1 = CType(Master.Master.FindControl("ContentPlaceHolder3col").FindControl("RadGrid1"), RadGrid)  
 
' code to do stuff here  
End Sub

End Class

This approach works for finding labels and text boxes for the onload event, but in this case, although the selected row changes color,
the code behind does not run. (and no produces no run time errors)

Can you help?

Thanks

Clive
Sebastian
Telerik team
 answered on 06 Mar 2009
2 answers
246 views
Hi,

I think I'm running into an issue where my client callback methods aren't being called when there are multiple RadWindowManagers on the page.  I have an environment set up where there are potentially multiple user controls on a page where more than one will need its own WindowManager.

A test page I have demonstrates the problem:
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server" /> 
         
        <telerik:RadWindowManager runat="server" ID="RadWindowManager1"
            <Windows> 
                <telerik:RadWindow runat="server" ID="rwOrders1" OnClientShow="rwOrders_ClientClose"
                </telerik:RadWindow> 
            </Windows> 
        </telerik:RadWindowManager> 
 
        <telerik:RadWindowManager runat="server" ID="RadWindowManager2"
            <Windows> 
                <telerik:RadWindow runat="server" ID="rwOrders2" OnClientShow="rwOrders_ClientClose"
                </telerik:RadWindow> 
            </Windows> 
        </telerik:RadWindowManager> 
         
        <script language="javascript" type="text/javascript"
            function rwOrders_ClientClose(oWnd) { 
                alert("IN CALLBACK!"); 
            } 
        </script>  
        <href="#" onclick="window.radopen('MyPage.aspx', 'rwOrders2');">New Order</a>      
 

It seems that when there are multiple windowmanagers on a single page, the first one found's Callbacks are the only ones that work.

Tests:
- As shown above, callback won't fire.
- Set WindowOpen to reference rwOrders1, callback will fire.
- Remove RadWindowManager1 and its window (and set RadOpen back to referencing rwOrders2), callback will fire.
- Add RadWindowManager1 and its window back, and move the rwOrders2 window to its WindowManager, and the callback will still fire.

Doing a google search it looks like this issue was identified and fixed back in 2006. However, I'm still seeing the same symptoms.  Is there a quick workaround for the issue or am I missing something?

Thanks!
chithuraj
Top achievements
Rank 1
 answered on 06 Mar 2009
1 answer
143 views
Hi,

I have a few questions. Here is what I need to do, please let me know what can be done to achieve that

1. I need to display 5 columns (using template)
2. I need to be able to search in 3 columns (with Filter="Contains")
3. I need to be able to load it on demand, enable load on demand does not work if I bind it during page load, I think I need to do that using ItemsRequested event.. am I correct?
4. I need to load data from webservice but display in template (5 columns), when using webservice, I see in the example taht we can assign item.Text and Item.Value properties, wat about the data for other 4 columns (if its not possible, this can be suggestion for next release)
5. If I place a raddock inside updatepanel, I get an error saying an object with that ID already exists. I understand that if I move the raddock, it is moving out of the updatepanel, do you guys have a fix for this?

Please let me know. I seem to be loving all the controls you got. btw, I'm developing an Enterprise app. Do you have any suggestion as to best practises using telerik controls for enterprise apps?
Yana
Telerik team
 answered on 06 Mar 2009
1 answer
109 views
Hi,
If I set my node expand to serversidecallback and there is an exception thrown in my application, a message box is displayed with 'Exception has been thrown by the target of an invocation... I wanted to know if there is a way I can override this event and perform my own error handling.

The reason is, that although I can guard against my code throwing exceptions, I cant guard against transport errors or if the server is down. I dont want this message box appearing for my clients.


Thanks for your help
Veselin Vasilev
Telerik team
 answered on 06 Mar 2009
3 answers
112 views
Hi,

I have implemented several RadUploads in my website and I have published the application on a test server and all went well. I have them transferred the application on another test server and now I have a black dot in front of every RadUpload and when I click to upload, the progress bar doesn't appear although I see the text saying x% completed and uploading...I am suspecting a problem with the styles but why didn't I have this problem on the first web server?

Thanks.
Martin Kutter
Top achievements
Rank 1
 answered on 06 Mar 2009
2 answers
200 views
Hi all,

I create a column of type GridDateTimeColumn dynamically and  add to my grid.

When I go in Edit mode, the width of the textbox control is too wide (default size) as I display and user only short dates(dd/mm/yyyy)...

In order to resize the control I subscribe to the CreateColumnEditor event on radgrid and change the TextBoxStyle.Width, at this moment the textbox control has a strange behavior ... In facts, it seems that the radgrid resize automatically the width of the textbox control to the width of the text...

        private static void CreateColumnEditorEventHandler(object sender, GridCreateColumnEditorEventArgs e)  
        {  
            if (e.ColumnEditor is GridDateTimeColumnEditor)  
            {  
                ((GridDateTimeColumnEditor)e.ColumnEditor).TextBoxStyle.Width = Unit.Pixel(50);  
            }    
        } 

Does anyone have an idea?

Thanks
Osman
Top achievements
Rank 1
 answered on 06 Mar 2009
1 answer
75 views
Hi,

I do the following:

I have on line in my editor content.
I mark this line - and choose "Heading 1" from the drop down.

So what I expect is:
Before:
My Line of Text
After Heading 1:
<h1>My Line of Text</h1>

But what I get is
<h1>My Line of Text</h1>
<p> </p>

How can I turn this "add extra paragraph behaviour" of?

Regards

Manfred
Rumen
Telerik team
 answered on 06 Mar 2009
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?