Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Open User Control in RadWindow

$
0
0

What we currently have is an aspx page that contains a radgrid that allows users to modify a record.  The information is loaded into a user control contained within a javascript/css modal window and I would like to replace it with the RadWindow.  This is currently how it is:

<%@ Register Src="~/Common/camelScoreNotes.ascx" TagName="CamelNotes" TagPrefix="uc1" %>
 <%@ Register Src="~/Common/asiExamNotes.ascx" TagName="AsiNotes" TagPrefix="uc1" %>
<%@ Register Src="~/Common/auditWorkPapers.ascx" TagName="WorkPapers" TagPrefix="uc1" %>

 

<telerik:GridTemplateColumnUniqueName="OpenNotes"HeaderStyle-Width="40px"ItemStyle-HorizontalAlign="Center">
     <ItemTemplate>
          <divid="Div<%# FormatDateTime(Eval("Date"), 2).Replace("/", "")%>" class="audit-notes-window">
               <uc1:CamelNotesNoteDate='<%# Eval("Date").ToString%>' AuditID='<%# _hdnAuditID.Value %>' CamelScore='<%# Eval("CamelCAE_Score")%>' CamelComp='<%# Eval("CAMEL_Comp")%>' CreatedBy='<%# Eval("CreatedByName")%>' runat="server"/>
          </div>
     </ItemTemplate>
</telerik:GridTemplateColumn>
 

First, I am not sure if it is even possible?  Can I only define one RadWindow and still pass the required variables in or would each GridTemplateColumn be a new RadWindow?   Note: that I do have multiple user controls and would like to get them all being edited in a RadWindow; each require that I pass in variables.  Maybe I create 3 RadWindows (one for each of the user controls) and define its contenttemplate as the user control but how could I pass in the required information? 

 Your assistance is appreciated.


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>