<telerik:GridTemplateColumn DataField="usrSignature" EditFormColumnIndex="0"
HeaderText="<%$ Resources:Localization, usrSign%>"UniqueName="usrSignature"> <ItemTemplate> <telerik:RadBinaryImage runat="server" ID="rb" DataValue='<%#Eval("usrSignature") is DBNull ? null : Eval("usrSignature")%>' AutoAdjustImageControlSize="false" Height="30px" Width="100px" AlternateText="<%$ Resources:Localization, NoSignature %>" /> </ItemTemplate> <EditItemTemplate> <telerik:RadAsyncUpload ID="raupSignature" runat="server" AllowedFileExtensions="bmp,gif,jpg,jpeg,png" MaxFileInputsCount="1" /> </EditItemTemplate></telerik:GridTemplateColumn>if (usrSignature.UploadedFiles.Count > 0) scmQuery.Parameters["@usrSignature"].Value = DBNull.Value;else { UploadedFile file = usrSignature.UploadedFiles[0]; byte[] fileData = new byte[file.InputStream.Length]; file.InputStream.Read(fileData, 0, (int)file.InputStream.Length); scmQuery.Parameters["@usrSignature"].Value = fileData; }protected void RadGrid1_PreRender(object sender, EventArgs e) { foreach (GridDataItem dataItem in RadGrid1.MasterTableView.Items) { if (dataItem.Expanded) { // Need Help here to Conditionally Hide Detail Table Freight Column
// if Column Value CustomerID of Parent Table = 'ALFKI'. } } }<TelerikWeb:RadWindowManager ID="Singleton" runat="server" Skin="Vista">
<ConfirmTemplate>
<div class="windowpopup radconfirm">
<script type="text/javascript">
function RadWindowManager_SetFocus(obj, ev)
{
if (!ev) ev = window.event;
if (ev.keyCode == 9)
{
if (obj.nextSibling)
{
obj.nextSibling.focus();
}
else if (obj.previousSibling)
{
obj.previousSibling.focus();
}
}
}
</script>
<div class="dialogtext">
{1}
</div>
<div>
<a onclick="$find('{0}').callBack(true);" class="radwindowbutton" href="javascript:void(0);"
onblur="RadWindowManager_SetFocus(this, event);">
<span class="outerspan">
<span class="innerspan">##LOC[OK]##</span> </span></a>
<a onclick="$find('{0}').callBack(false);" originalAttribute="href" originalPath="javascript:void(0);"
onblur="RadWindowManager_SetFocus(this, event);">
<span class="outerspan">
<span class="innerspan">##LOC[OK]##</span> </span></a>
<a onclick="$find('{0}').callBack(false);" originalAttribute="href" originalPath="javascript:void(0);"
onkeypress="RadWindowManager_SetFocus(this, event);">
<span class="outerspan">
<span class="innerspan">##LOC[OK]##</span> </span></a>
<a onclick="$find('{0}').callBack(false);" originalAttribute="href" originalPath="javascript:void(0);"
onkeypress="RadWindowManager_SetFocus(this, event);">
<span class="outerspan">
<span class="innerspan">##LOC[OK]##</span> </span></a>
<a onclick="$find('{0}').callBack(false);" class="radwindowbutton"
href="javascript:void(0);" originalAttribute="href" originalPath="javascript:void(0);" originalAttribute="href" originalPath="javascript:void(0);" originalAttribute="href" originalPath="javascript:void(0);" onblur="RadWindowManager_SetFocus(this, event);">
<span class="outerspan">
<span class="innerspan">##LOC[Cancel]##</span> </span></a>
</div>
</div>
</ConfirmTemplate>
</TelerikWeb:RadWindowManager>
for some reason tab keypress event is not firing the function. But it get firing for any keypress.
I would appreciate any help I can get with this.
-Vishal
Index.aspx contains a RadtabStrip and RadMultiPage. From Index.aspx, I am trying to call a JavaScript function found in selected PageView's content, which is another ASPX page. My JavaScript in Index.aspx that is trying to make the call to Page VIew looks like this (saveData is the function in the child ASPX page):
var multiMain = $find("<%= mulMain.ClientID %>");
var pageToSave = multiMain.get_selectedPageView();
var pageContent = pageToSave.get_element();
pageContent.saveData()
;
Obviously, I can't get this to work. I can see from the examples that you can change style information, among a number of other things, but it appears that I'm doing so for the immediate container of the child ASPX (an iframe), and not for the ASPX page itself.
Does anyone have any idea how to pull this off, how to call the JavaScript of an ASPX page contained within a Page View of RadMultiPage?