Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
105 views
I am executing some code that looks like this:

        Private Sub SetAllTelerikControlsSkin(ByVal Container As Control, ByVal Skin As String) 
            For Each ctl In Container.Controls 
                If Not (ctl.GetType().GetProperty("Skin") Is Nothing) Then 
                    ctl.EnableEmbeddedSkins = False 
                    ctl.Skin = Skin 
 
                End If 
                'Keep digging. If I have children, set them. 
                If Not (ctl.GetType().GetProperty("HasChildren") Is Nothing) AndAlso ctl.HasChildren Then 
                    'Is a container control; call myself 
                    SetAllTelerikControlsSkin(ctl, Skin) 
                End If 
            Next ctl 
 
        End Sub 
 

Starting out the Container parameter is "Me". 

The problem is that any container controls, specifically the RadMultiPage's children (it's PageViews) don't get caught up here because it would seem that RadMultiPage doesn't have a property "Skin" and it doesn't have the Property "HasChildren" either. Do I have to do a special property call for MultiPage / PageViews in order to iterate down into them to set skin properties? 

Any ideas so I don't have to go into the source code and set every RAD control manually by name whenever I add one to the control? I also plan on doing the same for any user controls in my page. 
Vesko
Top achievements
Rank 2
 answered on 26 Sep 2009
1 answer
95 views
Hi,

have a simple comboBox  that initiall displays an emptyMessage ( like "please select").
ComboBox is set to autopostback and AllowCustomMessage is true

Can't seem to find a way to reset the comboBox to it's initial state from servers side.

Tried setting selectedIndex to something like -1, but that doesn't work.

thanks
Vesko
Top achievements
Rank 2
 answered on 26 Sep 2009
1 answer
114 views
hi

Based on the example which show only 1 parameter(CustomerID) http://demos.telerik.com/aspnet-ajax/window/examples/usingurlforserverarguments/defaultcs.aspx

How do i achieve 2 parameters? CustomerID and Customer Name? Thanks
Georgi Tunev
Telerik team
 answered on 26 Sep 2009
3 answers
113 views
Hello

I am not sure if this an issue with my PC or a possible problem with Telerik RadWinow as I have not been able to recreate it on another machine.

I am using IE 7 and when I have a modal rad window open if I click the "X" on the main browser 100% of the time IE will say "internet explorer has stopped working" and then will freeze for a little bit and then restart.

I have tested this on a couple of other PCs and don't get the problem, so I am just wondering if anyone else has come across this or can I just ignore it and assume its a quirk of my PC?

Thanks

Bex
Georgi Tunev
Telerik team
 answered on 26 Sep 2009
1 answer
54 views
Hi friends,
   I'm using a radscheduler with recurrence facility, I'm also checking resouce availability in this , wht my problem is , i will expalin this using an example

i have 2 rooms R1 and R2  and 3 users - A,B,C

A and B has meeting in R1 at 10am - 11 am
so i cant schedule meeting for A & B at the same time in room R2 - i checked this , and there is no problem

suppose i'm using a recurrence and no problem while inserting the appointment , problem is while ediiting that recurrence

while ediiting 2 options will ask

1. edit this occurence
2. edit the series

while editing  the 1st option i'm getting an error - object reference not set to an instance of an object
for second option no pblm is there

here is the code

private IEnumerable<Resource> GetResources(string resType)
        {
            List<Resource> availableUsers = new List<Resource>(Owner.Resources.GetResourcesByType("User"));
            List<Resource> availableResources = new List<Resource>();
            IEnumerable<Resource> resources = Owner.Resources.GetResourcesByType(resType);
            
            foreach (Appointment appointmentInRange in Owner.Appointments.GetAppointmentsInRange(Appointment.Start, Appointment.End))
            {
                if (appointmentInRange == Appointment)
                    continue;

                foreach (Resource occupiedUser in appointmentInRange.Resources.GetResourcesByType("User"))
                {
                    availableUsers.Remove(occupiedUser);
                }
                if (availableUsers.Count == 0)
                {
                    found = true;
                }
            }

            return availableUsers;          
        }

Please help... If anyone of u have an idea

thanking You
Regards
Chinnu

Peter
Telerik team
 answered on 26 Sep 2009
1 answer
174 views
Hi,

We have decided to use a custom way of creating and showing recurrence appointments.
Now i would like to know how i can show the recurrence image in the appointment.
Is there a way to get the image from the scheduler so i can add it to the appointment template in the timeslotcreated event.

We are using the following code to show the appointment:

function TimeSlotCreated(sender, e) {  
 
 
      var app = e.get_appointment();  
      var element = e.get_appointment().get_element();  
 
      var attributeCollection = app.get_attributes();  
      var StateIconName = attributeCollection.getAttribute("StateIconName");  
      var SubStateIconName = attributeCollection.getAttribute("SubStateIconName");  
      var RsCategory = RgbStringToRadStyleString(attributeCollection.getAttribute("Color"));  
      var customerName = attributeCollection.getAttribute("CustomerName");  
      var startTime = app.get_start().format("MMM dd, yyyy HH:mm:ss");  
      attributeCollection.setAttribute("OriginalStartTime", startTime);  
 
      // Set the stateimage  
      var image = document.createElement("img");  
      image.setAttribute("src", '/Images/16x16/icons/' + StateIconName);  
      image.setAttribute("alt", 'IconImage');  
      image.setAttribute("ondragstart", 'javascript:return false;');  
 
      // If the appointment has a substate then show the substateimage  
      if (SubStateIconName != null) {  
        var image2 = document.createElement("img");  
        image2.setAttribute("src", '/Images/16x16/icons/' + SubStateIconName);  
        image2.setAttribute("alt", 'IconImage');  
        image2.setAttribute("ondragstart", 'javascript:return false;');  
      }  
 
      app.set_cssClass("rsCategory" + RsCategory);  
 
      // All appointments with ID 0 are script generated, they are not actually appointments within the database, thus must not be allowed to  
      // be edited/moved or resized in any way shape or form.  
      if (app.get_id() == 0) {  
        app.set_allowDelete(false);  
        app.set_allowEdit(false);  
      }  
 
      var divs = element.getElementsByTagName('div');  
      var result;  
      var innerHTML;  
      for (i = 0; i < divs.length; i++) {  
        // IE and its eternal spacing issues *sigh*  
        if ($telerik.$(divs[i]).is("div.rsAptContent")) {  
          result = divs[i];  
          innerHTML = result.innerHTML;  
          result.innerHTML = '';  
          result.appendChild(image);  
 
          // If the appointment has a substate then show the substateimage  
          if (SubStateIconName != null) { result.appendChild(image2); }  
 
          resultresult.innerHTML = result.innerHTML + innerHTML;  
          resultresult.innerHTML = result.innerHTML + "<br />";  
 
 
          AddTargetControl(app);  
        }  
      }  
    } 
Peter
Telerik team
 answered on 26 Sep 2009
1 answer
153 views
I need to get the equivalent to $find('<%=RadTreeView1.ClientID %>'); in JavaScript. The problem is my treeview is nested within a radpanelbar. Here is the code I have so far but it is not working.

            scheduler = $find('<%=RadScheduler1.ClientID %>');
            panelBar = $find('<%=RadPanelBar1.ClientID %>');
            item = panelBar.findItemByText("Events");
            treeview = item.findControl('<%=RadTreeView1.ClientID %>');

Here is the aspx of the panel bar.
<telerik:RadPanelBar ID="RadPanelBar1" runat="server" Skin="Web20" ExpandMode="SingleExpandedItem"
        AllowCollapseAllItems="false" Width="220px" BorderStyle="None" OnClientItemClicked="itemClicked"
            Height="500px">
            <CollapseAnimation Type="None" Duration="100"></CollapseAnimation>
            <Items>
                <telerik:RadPanelItem runat="server" Text="Events" Font-Bold="true" Font-Size="Medium"
                    Expanded="true">
                    <Items>
                        <telerik:RadPanelItem runat="server">
                            <ItemTemplate>
                                <telerik:RadTreeView ID="RadTreeView1" runat="server" Skin="Web20" CssClass="leftPanelContent"
                                    CheckBoxes="true" OnClientNodeChecking="OnClientNodeChecked" OnClientNodeClicking="OnClientNodeClicking">
                                </telerik:RadTreeView>
                            </ItemTemplate>
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>

Thanks,


Yana
Telerik team
 answered on 26 Sep 2009
1 answer
131 views
Hello, I have problem with sending some values from Radwindow to Detailgrid (Radgrid2) with this command:
                    
                    var MasterTable = $find("<%= RadGrid2.ClientID %>").get_masterTableView();  
                    alert( MasterTable.get_id() );
                    MasterTable.fireCommand("InsertEditValue",zobraz + "|" + guid); 
It seems that firecommand working only with one Grid on the page..  
Is there anything what im doing wrong? I have no clue..

<script type ="text/jscript" language="JavaScript" src="../Scripts.js"></script>  
      
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">  
        <script type="text/javascript">  
            //<![CDATA[
            function openWin()
            {
                var oWnd = radopen(null, "RadWindow1");
            }        
            function OnClientClose(oWnd,args)
            {
                var arg = args.get_argument();
                if(arg)
                { 
                   var guid   = arg.mestoGuid;
                   var zobraz = arg.mestoText;
  
                    var MasterTable = $find("<%= RadGrid2.ClientID %>").get_masterTableView();  
                    alert( MasterTable.get_id() );
                    MasterTable.fireCommand("InsertEditValue",zobraz + "|" + guid); 
                }
            }
            //]]>  
        </script>  
          
    </telerik:RadCodeBlock>     
  
    <telerik:RadWindowManager ID="RadWindowManager1" ShowContentDuringLoad="False" VisibleStatusbar="False"  
        ReloadOnShow="True" runat="server" Skin="Sunset" Left="" meta:resourcekey="RadWindowManager1Resource1"   
        style="display: none;" Top="">  
        <Windows>  
            <telerik:RadWindow ID="RadWindow1" runat="server" Behaviors="Close" OnClientClose="OnClientClose"   
             Height = "220px" Width = "360px" NavigateUrl="~/Template/Adresy.aspx?UlicaReadOnly=true&CisloDomuReadOnly=true"   
                meta:resourcekey="RadWindow1Resource1" />  
        </Windows>  
    </telerik:RadWindowManager>         
  
<!-- Ajax -->    
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
        <AjaxSettings>  
            <telerik:AjaxSetting AjaxControlID="RadGrid1">  
                <UpdatedControls>                      
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" />  
                    <telerik:AjaxUpdatedControl ControlID="RadGrid2" LoadingPanelID="RadAjaxLoadingPanel1"/>  
                </UpdatedControls>                  
            </telerik:AjaxSetting>  
        </AjaxSettings>  
        <ClientEvents OnRequestStart="RequestStart" />  
    </telerik:RadAjaxManager>   
 
<!-- MASTER grid -->     
    <cn:CustomGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" OnInit="Set1" CommandItemDisplay="Top" meta:resourcekey="GridView1Resource1" >  
        <ClientSettings allowkeyboardnavigation="true" enablepostbackonrowclick="true">  
            <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="true" />              
            <Selecting AllowRowSelect="true" />  
        </ClientSettings>             
        <mastertableview datakeynames="JJTE_TYPEN, UZSUS" datasourceid="SqlDataSource1" >  
            <Columns>                                
               ...mastertableviem column...  
            </Columns>  
        </mastertableview>  
    </cn:CustomGrid>  
<br />  
  
<!-- DETAIL grid -->    
    <cn:CustomGrid ID="RadGrid2" runat="server" DataSourceID="SqlDataSource4" OnInit="Set2" CommandItemDisplay="Top" meta:resourcekey="GridView2Resource1" >  
        <ClientSettings allowkeyboardnavigation="true" enablepostbackonrowclick="true">  
            <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="true" />              
            <Selecting AllowRowSelect="true" />  
        </ClientSettings>    
        <mastertableview datakeynames="JUZS_JJTE_TYPEN, JUZS_UZSUS, GIID_CELOK" datasourceid="SqlDataSource4">  
            <Columns>                      
                <telerik:GridTemplateColumn meta:resourcekey="GridTemplateColumnResource20" ItemStyle-Width ="150px" SortExpression="ADRESA" UniqueName="ADRESA" >  
                    <ItemTemplate>  
                        <%# DataBinder.Eval(Container.DataItem, "MESTO")%>   
                    </ItemTemplate>    
                    <EditItemTemplate>                          
                       <telerik:RadTextBox ID="ADRESA"  runat="server" Width="200px" onclick="openWin(); return false;" AutoPostBack="true" Text='<%# Bind("MESTO") %>' />                      
                    </EditItemTemplate>                        
                </telerik:GridTemplateColumn>  
                  
                <telerik:GridBoundColumn DataField="KRAJ" meta:resourcekey="GridBoundColumnResource21"  
                    SortExpression="KRAJ" UniqueName="KRAJ" ItemStyle-Width ="100px">  
                </telerik:GridBoundColumn>   
                  
            </Columns>  
        </mastertableview>  
    </cn:CustomGrid>           
      
<!-- Data source -->      
    <cn:CustomSqlDataSource ID="SqlDataSource1" runat="server"   
        ConnectionString="<%$ ConnectionStrings:Jishm %>"   
        ProviderName="<%$ ConnectionStrings:Jishm.ProviderName %>"   
        OldValuesParameterFormatString="old_{0}"   
        SelectCommand="SELECT jjus.UZSUS, jjus.SKRATKA, jjus.JJTE_TYPEN ,jjte.SKRATKA jjte_skratka, jjus.POPIS, jjus.POZNAMKA  
                                , jjus.JUZS_JJTE_TYPEN, jjus.JUZS_UZSUS  
                                , jjte2.SKRATKA juzs_jjte_skratka2, jjus2.SKRATKA juzs_skratka2  
                                , jjus.AKTUAL, jj$#pck_funkcie.fn_domena_hodnota('TRUE_FALSE',jjus.AKTUAL,[P_JAZYK]) AKT_P, nvl(JJPO.MENOPRIEZVISKO, 'nepr. ('|| jjus.UZIVATEL ||')') UZIVATEL, jjus.DATUM_DML  
                                , jjus.JUZS_JJTE_TYPEN ||'|'|| jjus.JUZS_UZSUS JJUZ_PK2  
                                , jjte2.SKRATKA  ||' ' ||jjus2.SKRATKA JJTE_JJUZ2  
                        FROM JJUZLSUY jjus  
                           , JJUZLSUY jjus2  
                           , JJTYPENY jjte  
                           , JJTYPENY jjte2  
                           , JJPOUZIVATEL_VIEW JJPO  
                        WHERE jjus.JJTE_TYPEN = jjte.TYPEN  
                        AND jjus.UZIVATEL = JJPO.LOGIN(+)  
                        and jjus.JUZS_JJTE_TYPEN = jjte2.TYPEN(+)  
                        and jjus.JUZS_UZSUS = jjus2.UZSUS(+)  
                        ORDER BY jjus.JJTE_TYPEN, jjus.UZSUS"  
        InsertCommand="INSERT INTO JJUZLSUY( JJTE_TYPEN, UZSUS, SKRATKA, POPIS, JUZS_JJTE_TYPEN, JUZS_UZSUS, POZNAMKA, AKTUAL, UZIVATEL, DATUM_DML )   
                        VALUES ( [JJTE_TYPEN], [UZSUS],[SKRATKA], [POPIS], [JUZS_JJTE_TYPEN], [JUZS_UZSUS], [POZNAMKA], [AKTUAL], [P_USER], SYSDATE )"   
        UpdateCommand="UPDATE JJUZLSUY SET  
                            SKRATKA         = [SKRATKA]  
                          , POPIS           = [POPIS]    
                          , JUZS_JJTE_TYPEN = [JUZS_JJTE_TYPEN]  
                          , JUZS_UZSUS  = [JUZS_UZSUS]  
                          , POZNAMKA    = [POZNAMKA]   
                          , AKTUAL      = [AKTUAL]  
                          , UZIVATEL  = [P_USER]  
                          , DATUM_DML = sysdate  
                        WHERE JJTE_TYPEN = [old_JJTE_TYPEN]  
                        AND UZSUS = [old_UZSUS]"  
        DeleteCommand="DELETE FROM JJUZLSUY WHERE UZSUS = [old_UZSUS] AND JJTE_TYPEN = [old_JJTE_TYPEN]">     
    
        <SelectParameters>   
            <asp:ControlParameter Name="P_JAZYK" ControlID="__Page" PropertyName="Jazyk" Type="String" Size="250" Direction="Input" />   
        </SelectParameters>  
          
        <InsertParameters>  
            <asp:ControlParameter  Name="P_USER" ControlID="__Page" PropertyName="UserName" Type="String" Size="250" />  
            <asp:Parameter Name="JJTE_TYPEN" Type="Int32" Size="2" />  
            <asp:Parameter Name="UZSUS" Type="Int32" Size="2" />    
            <asp:Parameter Name="SKRATKA" Type="String" Size="10" />   
            <asp:Parameter Name="POPIS" Type="String" Size="50" />  
            <asp:Parameter Name="JUZS_JJTE_TYPEN" Type="Int32" Size="2" />  
            <asp:Parameter Name="JUZS_UZSUS" Type="Int32" Size="2" />     
            <asp:Parameter Name="POZNAMKA" Type="String" Size="500" />   
            <asp:Parameter Name="AKTUAL" Type="String" Size="5" />                
        </InsertParameters>          
        <UpdateParameters>  
            <asp:ControlParameter  Name="P_USER" ControlID="__Page" PropertyName="UserName" Type="String" Size="250" />   
            <asp:Parameter Name="old_JJTE_TYPEN" Type="Int32" Size="2" />   
            <asp:Parameter Name="old_UZSUS" Type="Int32" Size="2" />                    
            <asp:Parameter Name="SKRATKA" Type="String" Size="10"  />    
            <asp:Parameter Name="POPIS" Type="String" Size="50"  />   
            <asp:Parameter Name="JUZS_JJTE_TYPEN" Type="Int32" Size="2" />   
            <asp:Parameter Name="JUZS_UZSUS" Type="Int32" Size="2" />   
            <asp:Parameter Name="POZNAMKA" Type="String" Size="500" />    
            <asp:Parameter Name="AKTUAL" Type="String" Size="5" />   
        </UpdateParameters>  
        <DeleteParameters>  
            <asp:ControlParameter Name="old_UZSUS" ControlID="RadGrid1" PropertyName="SelectedValue" Type="Int32" Size="2"  />   
            <asp:ControlParameter Name="old_JJTE_TYPEN" ControlID="RadGrid1" PropertyName="SelectedValue" Type="Int32" Size="2"  />   
        </DeleteParameters>       
                  
    </cn:CustomSqlDataSource>   
      
    <cn:CustomSqlDataSource ID="SqlDataSource2" runat="server"   
        ConnectionString="<%$ ConnectionStrings:Jishm %>"   
        ProviderName="<%$ ConnectionStrings:Jishm.ProviderName %>"   
        SelectCommand="SELECT TYPEN, SKRATKA, POPIS   
                        FROM JJTYPENY   
                        WHERE AKTUAL = 'TRUE' ORDER BY TYPEN">  
    </cn:CustomSqlDataSource>  
          
    <cn:CustomSqlDataSource ID="SqlDataSource4" runat="server"   
        ConnectionString="<%$ ConnectionStrings:Jishm %>"   
        ProviderName="<%$ ConnectionStrings:Jishm.ProviderName %>"  
        OldValuesParameterFormatString="old_{0}"   
        SelectCommand="SELECT  jjuza.JUZS_JJTE_TYPEN  
                        ,jjuza.JUZS_UZSUS  
                        ,rawtoguid(jjuza.GIID_CELOK) GIID_CELOK  
                        , jjuc.KRAJ  
                        , jjuc.MESTO   
                        ,jjuza.AKTUAL  
                        , jj$#pck_funkcie.fn_domena_hodnota('TRUE_FALSE',jjuza.AKTUAL,[P_JAZYK]) AKT_P  
                        , nvl(JJPO.MENOPRIEZVISKO, 'nepr. ('|| jjuza.UZIVATEL ||')') UZIVATEL  
                        ,jjuza.DATUM_DML  
                        FROM JJUZSADR jjuza, JJ_UZEMNY_CELOK_POPIS_VIEW jjuc, JJPOUZIVATEL_VIEW JJPO  
                        WHERE rawtoguid(jjuza.GIID_CELOK) = rawtoguid(jjuc.GUID_CELOK)    
                        AND jjuza.UZIVATEL = JJPO.LOGIN(+)  
                        AND jjuza.JUZS_JJTE_TYPEN = [JJTE_TYPEN]  
                        AND jjuza.JUZS_UZSUS      = [UZSUS]  
                        order by jjuc.CELOK_SKRATKA asc"  
                          
        InsertCommand="INSERT INTO JJUZSADR (JUZS_JJTE_TYPEN, JUZS_UZSUS, GIID_CELOK, AKTUAL, UZIVATEL, DATUM_DML)   
                                    VALUES([JUZS_JJTE_TYPEN], [JUZS_UZSUS], [GIID_CELOK], [AKTUAL], [P_USER], sysdate)"                                       
        OnInserting = "SqlDataSource4_Inserting"                                        
                                      
        UpdateCommand="UPDATE JJUZSADR SET   AKTUAL      = [AKTUAL]  
                                            ,UZIVATEL    = [P_USER]  
                                            ,DATUM_DML   = sysdate  
                                            WHERE JUZS_JJTE_TYPEN = [old_JUZS_JJTE_TYPEN]  
                                            AND JUZS_UZSUS        = [old_JUZS_UZSUS]"                                                                     
  
        DeleteCommand="DELETE FROM JJUZSADR WHERE JUZS_JJTE_TYPEN = [old_JUZS_JJTE_TYPEN]  
                                            AND JUZS_UZSUS        = [old_JUZS_UZSUS]">  
                          
        <SelectParameters>      
            <asp:ControlParameter Name="P_JAZYK" ControlID="__Page" PropertyName="Jazyk" Type="String" Size="250" Direction="Input" />       
            <asp:ControlParameter ControlID="RadGrid1" Name="JJTE_TYPEN" DefaultValue="0" PropertyName="SelectedValues['JJTE_TYPEN']" Type="Int32" />  
            <asp:ControlParameter ControlID="RadGrid1" Name="UZSUS" DefaultValue="0" PropertyName="SelectedValues['UZSUS']" Type="Int32" />  
        </SelectParameters>      
          
        <InsertParameters>  
            <asp:ControlParameter  Name="P_USER" ControlID="__Page" PropertyName="UserName" Type="String" Size="250" />  
            <asp:ControlParameter ControlID="RadGrid1" Name="JUZS_JJTE_TYPEN" DefaultValue="0" PropertyName="SelectedValues['JJTE_TYPEN']" Type="Int32" />  
            <asp:ControlParameter ControlID="RadGrid1" Name="JUZS_UZSUS" DefaultValue="0" PropertyName="SelectedValues['UZSUS']" Type="Int32" />   
            <asp:Parameter Name="GIID_CELOK" Type="String" Size="32" />               
            <asp:Parameter Name="AKTUAL" Type="String" Size="50" />                           
        </InsertParameters>      
          
        <UpdateParameters>  
            <asp:ControlParameter  Name="P_USER" ControlID="__Page" PropertyName="UserName" Type="String" Size="250" />  
            <asp:Parameter Name="AKTUAL" Type="String" Size="50" />    
            <asp:Parameter Name="old_JUZS_JJTE_TYPEN" Type="Int32" />    
            <asp:Parameter Name="old_JUZS_UZSUS" Type="Int32" />                 
        </UpdateParameters>                  
          
        <DeleteParameters>  
            <asp:Parameter Name="old_ODBMIE" Type="String" Size="20" />                
        </DeleteParameters>        
    </cn:CustomSqlDataSource>  
 
 

Tsvetoslav
Telerik team
 answered on 26 Sep 2009
1 answer
260 views

Hello All,

I'm using Telerik's RadWindow/Ajax mechanism for creating Modal Popup
Window. Both Parent and Popup are in separate aspx files and in their own Windows.

I would like to reterieve Data in Modal Popup Window and then return back user's
selecteion from RadGrid into parent Window when Popup is closed.

I have tried Post and changing PostBackUrl and using e.g.
ViewState as transform mechanism but that didn't solve the problem because when
Popup Window was opened using Telerik's Ajax/Javascript methods it needed 
something else to be closed too. Otherwise Popup Window stayed into screen.

I found a sample from Telerik
http://demos.telerik.com/aspnet-ajax/window/examples/dialogreturnvalue/defaultcs.aspx
which used plain Javascript/Ajax? to two windows communication.

So if anyone has any ideas how to transfer data in Collection between to Windows and
especially back I from Modal child Windows I would be glad to here about then.

I know that my approach to this problem might not be the right one so, please give me some detailed information
if you have solved same kind of situation.

Best to All,

Michael

Georgi Tunev
Telerik team
 answered on 26 Sep 2009
1 answer
85 views
In javascript, I disable the RadDatePicker, but it does not gray out the popup Button.

picker.set_enabled(false);

The date input is greyed out, but not the popup button.

How do I visually show that the popup button is disabled?

Thanks for your help!
Pavlina
Telerik team
 answered on 26 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?