ExportSettings.IgnorePaging =
true;
ExportSettings.OpenInNewWindow =
true;
<
MasterTableView
Width="100%"
DataKeyNames="RecId" CellSpacing="-1" pagesize="20">
<Columns>
<telerik:GridTemplateColumn>
<ItemTemplate>
<span style="font-weight:bold;font-family:Arial Black; text-align:center;width:100% ">
<asp:Image ID="EqArmsCoat" Width="200px" Height="150px"
ImageUrl="~/Images/Equistar logo spot 1 pic.jpg"
runat="server" AlternateText="Equistar 5 Star Insurance" />
</span>
<%
-- <table>
<tr>
<td width="100%" height="200px" valign="middle">
<asp:Image ID="EqArmsCoat" Width="200px" Height="150px"
ImageUrl="~/Images/Equistar logo spot 1 pic.jpg"
runat="server" AlternateText="Equistar 5 Star Insurance" />
</td>
</tr>
<tr>
<td width="25%" height="40px" valign="middle">Schedule Date
</td>
<td width="75%" height="40px" valign="middle"><%# Eval("SchedDate")%>
</td>
</tr>
<tr>
<td width="25%" height="40px" valign="middle">Reference Number
</td>
<td width="75%" height="40px" valign="middle"><%# (Eval("Schedref_no"))%>
</td>
</tr>
</table>--
%>
<br />
<br />
<span style="font-weight:normal;height:45;width:100px">Schedule Date : </span>
<%
# Eval("SchedDate")%>
<br />
<br />
<span style="font-weight:normal;height:45;width:100px">Reference Number :</span>
<%
# (Eval("Schedref_no"))%>
<br />
<br />
<span style="font-weight:normal;height:45;width:100px">Annual Premium :</span>
<%
# (Eval("AnnualPremium"))%>
<br />
<br />
<span style="font-weight:normal;height:45;width:100px">Payment Option :</span>
<%
# (Eval("PayFreq"))%>
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Sun, 16 Aug 2009 17:29:00 UTC
Message: Object doesn't support this property or method
Line: 37
Char: 4
Code: 0
Here is the Javascript:
function OnClientItemClickingHandler(sender, eventArgs)
{
var cookieName = constCookieName(sender.get_id());
var curCookie = GetCookie(cookieName);
var cookieValue = new Array();
if(curCookie != null) {cookieValue = curCookie.split(",");}
var itemIndex;
for (i = 0; i < sender.get_items().get_count(); ++i)
{
if(sender.get_items().getItem(i).get_text() == eventArgs.get_item().get_text()) {itemIndex = i;break;}
}
if(eventArgs.get_item().get_expanded() == true)
{
eventArgs.get_item().set_expanded(false);
document.getElementById("globalLinks").style.width = document.getElementById("LeftNavigationAreaCell").offsetWidth-15 + "px";
cookieValue[itemIndex]=false;
}
else
{
eventArgs.get_item().set_expanded(true);
document.getElementById("globalLinks").style.width = document.getElementById("LeftNavigationAreaCell").offsetWidth-15 + "px";
cookieValue[itemIndex]=true;
}
document.cookie = cookieName + "=" + escape(cookieValue) + "; path=/";
if(eventArgs.get_item().get_navigateUrl().toLowerCase().indexOf("go_nowhere") > -1)
{
eventArgs.set_cancel(true);
}else{
eventArgs.set_cancel(false); // This line causes error ;
}
}
I am unable to test the "true" condition of the corresponding statement at this time. Thus, I do not know whether or not it causes the same error.
What am I doing wrong?
Cheers,
Doug
I am using RadDatePicker control in my site and my problem is I want to remove href=”#” from “A” tag of Day cell.
i.e : see the following link and open pop up for date picker and mouse over on any day and see in the status bar there is one “#”
Actually RadDatePicker generate HTML code for particuler day is...
<a href="#">18</a>
and i want like....
<a href="javascript:void(0);">18</a>
Note : I am using this version of Rad Control : 2009.1.402.35
Hi there,
1.) I have radgrid and export to excel functionality in it.
2.) This radgrid is in a page and that page is called using a "window.showModalDialog" javascript from another page.
Every thing works fine in IE. In FireFox also this works fine only if directly exporting from the single page.
This does't work in firefox only when using javascript and opening a modaldialog , having a RadGrid and while exporting the same.
While i click on Export from Modaldialog screen i'm getting a dialog box to save the excel where i'm unable to save or open with using FireFox. I 'h added that screen shot link below.
Snap shot of the issue

Hi,
We found another problem in the scheduler control.
For you information: We are using webservices with the advanced form.
We are showing images in the appointments on the schedular, like on the following image:
http://bart.nimio.info/images/fora/scheduler3.JPG
But when i tried to move an appointment by clicking on the image, nothing happens until i release the mouse button.
Then the appointment is stuck to the mouse pointer, after that i can't put the appointment back to the original place without updating the appointment or i can't put the appointment back to the scheduler at all. After that i am getting a lot of javascript errors when trying to move another appointment.
We are using the following code to enable images on the appointment:
| /// <summary> |
| /// Occurs when a timeslot is created. |
| /// Sets the AppointmentType image, as well as the AppointmentState catagory color. |
| /// </summary> |
| /// <param name="sender">telerik:RadScheduler</param> |
| /// <param name="e">telerik:TimeSlot</param> |
| /// <returns>null</returns> |
| 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 tooltip of the appointment |
| if (customerName == null) { customerName = "Geen klant"; } |
| app.set_toolTip("Afspraak: " + app.get_toolTip() + "\n" + "Klant: " + customerName); |
| // Set the stateimage |
| var image = document.createElement("img"); |
| image.setAttribute("src", '<%= System.Configuration.ConfigurationManager.AppSettings["IconDirectory"].Replace("~","") %>' + StateIconName); |
| image.setAttribute("alt", 'IconImage'); |
| // If the appointment has a substate then show the substateimage |
| if (SubStateIconName != null) { |
| var image2 = document.createElement("img"); |
| image2.setAttribute("src", '<%= System.Configuration.ConfigurationManager.AppSettings["IconDirectory"].Replace("~","") %>' + SubStateIconName); |
| image2.setAttribute("alt", 'IconImage'); |
| } |
| element.setAttribute("class", element.className + " 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); } |
| result.innerHTML = result.innerHTML + innerHTML; |
| result.innerHTML = result.innerHTML + "<br />"; |
| if (customerName != "Geen klant") { |
| result.innerHTML = result.innerHTML + customerName; |
| } |
| return; |
| } |
| } |
| } |
function
applyVerticalSliderFix(sliderId)
{
var labels = $get(sliderId).getElementsByTagName('span');
for(i=0; i<labels.length; i++)
{
var label = labels[i];
var topOffset = Math.floor((label.parentNode.clientHeight - label.clientHeight) / 2);
label.style.top = topOffset + 'px';
}
}
For the above to work I created a new skin where the ".rslItem SPAN" definition uses a "position:absolute" for the top style attribute to have any effect.
Problem:
The above solution seems to work in IE and FF but every now and then throws off the location of the draghandle by a couple of pixels (10 - 15 pixels). In which case the draghandle is no longer properly lined up.
Any suggestions are much appreciated.
Regards, Elmar