Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
328 views
Ok so I have some javascript in my RadGrid ItemTemplate of a GridTemplateColumn that does some calculations which fires just fine on the intial page load. But after I hit refresh on the commandbar it disappears, the RadGrid is wrapped in an Ajax Panel. how would I be able to call the javascript again?

 

<telerik:GridTemplateColumn DataField="TotalSize" DataType="System.String" HeaderText="Size" UniqueName="Size">
                 <ItemTemplate>
                      <script type="text/javascript">
                      ...
                      </script>
                </ItemTemplate>
 </telerik:GridTemplateColumn>

 

 

 

 

Pat Huesers
Top achievements
Rank 1
 answered on 01 Feb 2013
5 answers
343 views
Hi,
           I have a ASP.Net page having  the RadTabStrip and RadMultiPage. Each RadPageView has only one RadGrid having width 99% and Height 100%. RadGrid are using the Skin = Office2010Silver. Now, I do have Horizontal Scroll bar when columns with are more then the space. But I do not have the Vertical Scroll bars. 
            I tried setting the Height, and also the ScrollHeight to 70 px (while height was 100%). Any suggestions, When there are more items, it does not even show all items and also the horizontal scroll bar does not show up as its at the bottom.
Pavlina
Telerik team
 answered on 01 Feb 2013
1 answer
79 views
Hi guys,

We have been customizing the RadScheduler for our application and it is going very well so far...we're very impressed with its capabilities. We have, however, run into a problem. We are subscribing to the OnClientAppointmentResizing event and we have the need to know the resulting size of the resized appointment during the resizing process, i.e. something like this:

function OnClientAppointmentResizing(sender, eventArgs)
{
// var newStartDate = eventArgs... (?)
// var newEndDate = eventArgs...(?)
// ...do something with these values
}

Now the eventArgs parameter only seems to give access to the appointment object (which doesn't have dynamically changing start and end times) and  to the 'target slot'. The target slot seems to be somewhat useless though...using it alone I don't believe that one can derive the resulting start and end date of the appointment because one doesn't know if the appointment is being resized from above or below.

Am I missing something here? This seems like it should be a straight-forward task. Any help would be appreciated.

Cheers,
Sam



Boyan Dimitrov
Telerik team
 answered on 01 Feb 2013
3 answers
190 views
Hi,

I have a RadGrid control with multiple template columns, most of the template are defined like this

<table class="itemLinkColumnTable">
<tr>
<td class="imageColumn"<img runat="server" id="Icon" class="itemIcon" align="top" /> </td>
        <td<a id="Link" runat="server" class="titleText" href="javascript:void(0);"> </a</td>
</tr>
</table>

The template has an Image and a link next to it.  It works fine when the Grid view is displays in the browser, but when I export this to PDF / Excel or Word by setting this property and clicking on the export button on the browser

RadGrid.MasterTableView.CommandItemSettings.ShowExportToPdfButton = true;<br><span style="font-size: 11px; line-height: 1.4;">RadGrid.MasterTableView.CommandItemSettings.ShowExportToExcelButton = true;</span><br><span style="font-size: 11px; line-height: 1.4;">RadGrid.MasterTableView.CommandItemSettings.ShowExportToWordButton = true;</span>

In the exported data the Template Columns are left as blank.  When on the export settings I set the ExportOnlyData="false"
I see all kinds of garbage being exported. Please have a look at the attached screen shot.

Why is the grid not being exported the way it looks in the browser ? Please let me know how to achieve this.

Thanks
Daniel
Telerik team
 answered on 01 Feb 2013
8 answers
559 views
Hi,
i've a radmenu and this code javascript for open the radwindow:
<telerik:RadMenu ID="RadMenu1" Runat="server" EnableRoundedCorners="True"
OnClientItemClicked="MenuOpenWindow"
EnableShadows="True" Skin="Sunset" style="top: 0px; left: 0px">
.....
function MenuOpenWindow(sender, eventArgs) {
if (eventArgs.get_item().get_text() == "Nuova immagine") {
$find("<%= RadWindowLoadprofile.ClientID %>").show();
return false;
}
}

this code perfect function but when i click on item child, this item is selected instead I do not want this. How can I do?

see the image

Boyan Dimitrov
Telerik team
 answered on 01 Feb 2013
1 answer
96 views
I have a RadGrid that has a hierarchical tables. 

When I use the edit template and save or cancel, the parent expand and edit column disappear.  Any Ideas what is happening?

The Grid is set up like this
DetailTable
DetailTable --> Use one of the edit commands which kicks off an edit template
DetailTable
When I save my work from the edit template, the parent detail table looses the edit and expand buttons


Update:

It appears that when you click on anything from the CommandItemTemplate. If I move the window I can see the top level looses the edit and expand buttons
Thanks.
John Giblin
Top achievements
Rank 1
 answered on 01 Feb 2013
1 answer
45 views
Hello.

I have a problem with the table wizard. I can create and apply a custom css style for the table, but the checkboxes in the "Apply special formats to" section are always disabled (see attached screenshot). No script errors. We are using Version 2009.3, and cannot upgrade at the moment.

Thanks for help.

Steve
Rumen
Telerik team
 answered on 01 Feb 2013
1 answer
147 views
Hi everyone, how can we use PivotGrid control in MVC application?
I'm novice to RadControl and I have tried to use PivotGrid in Asp.Net application.

Can anybody provide the example how to implement it with MVC(aspx view engine).

--
Thanks
PS
Pavlina
Telerik team
 answered on 01 Feb 2013
4 answers
94 views
I have just put a new site to our production server running iis7

http://www.channelmyorders.com.

The default page is default.aspx

It has a log on button which fires an asp:panel with various login controls

The button does nothing.

However ...

if you go to http://www.channelmyorders.com/default.aspx it works fine !!

Has anyone come across this before.

regards

Andy

ToddKC
Top achievements
Rank 1
 answered on 01 Feb 2013
1 answer
50 views
Hi,
i'm using RadFilter and call FireApplyCommand() to rebind grid but grid's current page index is set to 0. How to retain the current page index?

Thanks in advance.
Pavlina
Telerik team
 answered on 01 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?