or
hi i am using RadToolTipManager to show Thumbunail of file when user mouseover the file link on grid
in the ascx prerender event
i download the swf file from the databse store in application path
i need to chage the value property of <param> and src property of <embed>
<
object
id
=
"file"
width
=
"240"
height
=
"200"
classid
=
"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/
pub/shockwave/cabs/flash/swflash.cab#
version
=
8
,0,0,0">
<
param
id
=
"ParamC"
name
=
"SRC"
value
=
"Paper.swf"
>
<
embed
id
=
"embedC"
src
=
"Paper.swf"
width
=
"240"
height
=
"200"
></
embed
>
</
object
>
how to achive this?
public
static
void
ShowErrorDialog(
string
msg, Constants.ErrorCode category,
string
location, Control parent)<br> {<br> RadWindow rw =
new
RadWindow();<br> rw.ID =
"rwErrorHandling"
;<br> rw.VisibleOnPageLoad =
true
;<br> rw.CssClass =
"errorDialog2"
;<br> rw.Behaviors = WindowBehaviors.Move;<br> rw.EnableShadow =
true
;<br> rw.VisibleStatusbar =
false
;<br> rw.VisibleTitlebar =
true
;<br> rw.Visible =
true
;<br>
//rw.AutoSize = true;<br> rw.Width = 300;<br> rw.Height = 200;<br> rw.Modal = true;<br> <br> // Much more code here to create the contents of the dialog box<br> <br> parent.Page.Controls[0].FindControl("form1").Controls.Add(rw);<br> }
Website.Common.ShowErrorDialog(
"Test message"
, Constants.ErrorCode.UnexpectedRecordCount,
"buttonTest"
, Page);
GridBoundColumn b =
new
GridBoundColumn();
e.DetailTableView.Columns.Add(b);
b.HeaderText =
"test"
;
<telerik:RadUpload MaxFileSize="512000" OverwriteExistingFiles="true" ControlObjectsVisibility="None"
runat="server" ID="RadUpload1" OnValidatingFile="uploadMedia_ValidatingFile"
OnClientFileSelected="uploadMedia_FileSelected" Width="500px" />
But this is rendered as:<span class="ruFileWrap ruStyled" style="width: 80px;" jQuery171041561896132524767="11">
<input class="ruFileInput" id="ctl00_MainContent_Edit1_RadUpload1file0" submitName="ctl00_MainContent_Edit1_RadUpload1file0" type="file" size="23" unselectable="on" _events="[object Object]"/>
<label style="display: none;" for="ctl00_MainContent_Edit1_RadUpload1file0">
<input class="ruFakeInput" id="ctl00_MainContent_Edit1_RadUpload1TextBox0" type="text" size="22"/>
<label style="display: none;" for="ctl00_MainContent_Edit1_RadUpload1TextBox0">
<input class="ruButton ruBrowse" type="button" value="Select"/>
<s
ubelement
id
=
"717"
type
=
"complementary"
><
tag
type
=
"open"
text
=
"complementary"
elem-tag
=
"subelement"
>|</
tag
><
p
><
tag
type
=
"open"
text
=
"p"
elem-tag
=
"p"
>|</
tag
>
An increasing amount of information on complementary and alternative medicine is becoming available. The scope of the BNF is restricted to the discussion of conventional medicines but reference is made to complementary treatments if they affect conventional therapy (e.g. interactions with St John's wort—see Appendix 1). Further information on herbal medicines is available at
complementary-and-alternative-medicine|
p| An increasing amount of information on complementary and alternative medicine is becoming available. The scope of the BNF is restricted to the discussion of conventional medicines but reference is made to complementary treatments if they affect conventional therapy (e.g. interactions with St John's wort—see Appendix 1). Further information on herbal medicines is available at XRef : http://www.mhra.gov.uk| www.mhra.gov.uk |Xref : http://www.mhra.gov.uk . |p
|complementary-and-alternative-medicine
RadToolTipManager response error:
Exception=Sys.WebForms.PageREquestManagerServerErrorExecution; An Unknown error occurred while processing the request on the server. the status code returned from the server was: 500
it is working fine with ie9 (9.0.2)
can please any one help me to resolve this issue.
Thank you in advance
Jai