<img id='AlertIcon' align='absmiddle' style='vertical-align:middle;border:0' /> {1}
Now I´m using this to get the image and then set the SRC attribute:
var
oWindow = radalert('message', 300, 100, 'title');
var imgicono = oWindow.GetContentFrame().document.getElementById('AlertIcon');
imgicono.src = "my picture";
Posted 1 hour ago (permalink)
hey all
i have this problem that is killing me ....it was working before and it suddendly stopped..
i have three radgrids in my page with 2 invisible and 1 visible...if i click on the first the next will apear after i change thier select statments in thier consicutive data source according to the selection....
in
the scenario i just explained occurs twice in my project for 2 deferant purposes in one it is working perfectly in the second asp.net pages it is not...and what is killing me is that it was wokring....
whenever i click on a row a javascript error suggesting that
| sys.invalidoperationexception could not find updatepanel with id 'ctl00_main_ctl00_main1_radgrid3panel' .if it is being updated dynamically then it must be inside another updatepanel |
| If e.CommandName = "RowClick" Then |
| Dim item As GridDataItem = e.Item |
| If item.Expanded = True Then |
| item.Expanded = False |
| Else |
| item.Expanded = True |
| End If |
| End If |
| <telerik:GridTemplateColumn DataField="email" HeaderText="Email Address" |
| SortExpression="email" UniqueName="email"> |
| <ItemTemplate> |
| <a href='message_center.aspx?record=<%# Eval("record") %>'><asp:Label ID="emailLabel" runat="server" Text='<%# Eval("email") %>'></asp:Label></a> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
| Protected Sub RadPanelBar5_ItemClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadPanelBarEventArgs) Handles RadPanelBar5.ItemClick |
| If TypeOf e.Item.Owner Is RadPanelItem Then |
| Dim parentItem As RadPanelItem = CType(e.Item.Owner, RadPanelItem) |
| Select Case parentItem.Text |
| Case "Miscellaneous" |
| If e.Item.Owner.Items(5).Selected = True Then |
| 'Here i want to display a messagebox using Javascript, if i want to continue. |
| Response.Redirect("~/MessageforNewVersion.aspx") |
| End If |
| End Select |
| End If |
| End Sub |