Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
87 views
I'm trying to add a new page in my PDF by using this code:

<br style="page-break-after:always" /><p>content</p>

But no new page is generated ... the content is just being added to the end of the last page.
Can anyone tell me how to force a page break?

Regards
Daniel
Telerik team
 answered on 03 May 2011
1 answer
166 views
In my current project, I have a RadGrid with Paging and Sorting enabled.

The screenshot of the RadGrid is available on http://imageshack.us/f/848/dataaccessradgrid.jpg

When a column is sorted or unsorted, I would like the RadGrid to jump to the first page of the RadGrid.

Can you please show me how to do this?

Thanks,
Herman
Vasil
Telerik team
 answered on 03 May 2011
2 answers
100 views
Hello,

Is there an easy way to find the intermediate state in the tri-state checkbox with javascript?

I understand that there is a style applied to the checkbox based on child states, just wasn't sure if there was an actual property of the treeview checkbox that would be easy to find.

Thanks,
Peppi Vecchio
Top achievements
Rank 1
 answered on 03 May 2011
0 answers
172 views
Hi,
In my project i used radgrid and written server side logic for all events.
For better performance now i am calling server side methods from client side script.
In aspx page i used one master page, in that master page i used EnablePageMethods="true" property with in scriptmanager.

<ajax:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true">
         </ajax:ScriptManager>

In aspx page i have checkbox in radgrid.
         <telerik:GridTemplateColumn UniqueName="Complete" HeaderText="Completed" AllowFiltering="false">
                        <ItemTemplate>
                            <asp:Panel ID="Panel1" runat="server" Width="2px">
                                <asp:CheckBox ID="chkComplete" runat="server" AutoPostBack="true" onclick="GetMessage()" />
                            </asp:Panel>
                        </ItemTemplate>
         </telerik:GridTemplateColumn>

In onclick "GetMessage()" function called which is defined in below script.

<script type="text/javascript" language="javascript">
           function GetMessage() {
               PageMethods.CompletedCheck(sender, args, onSucceeded, onFailed);
               alert("working");
            }

            function onSucceeded() {
                alert("ok");
            }

            function onFailed() {
                alert("fail");
            }

In codebehind file i have below method

<System.Web.Services.WebMethod()> _

    Public Shared Sub CompletedCheck(ByVal sender As Object, ByVal e As System.EventArgs)

    End Sub

 

but i got this error.
Microsoft JScript runtime error: 'sender' is undefined.

Thanks and Regards,
Nagendra.

Nagendra
Top achievements
Rank 1
 asked on 03 May 2011
2 answers
103 views
I am currently using the context menu like this. It works on all img tags existing at page load. However, If when i try to create an img client side it does not have the context menu. I know you can use show method on the click event however I want it on the left click. Is it possible, and if so how?
<telerik:RadContextMenu runat="server" ID="conTest" OnClientShowing="ClientShowing"
    OnClientItemClicked="ClientClicked">
    <Targets>
        <telerik:ContextMenuTagNameTarget TagName="img" />
    </Targets>
    <Items>
        <telerik:RadMenuItem Text="Edit">
        </telerik:RadMenuItem>
        <telerik:RadMenuItem Text="Delete">
        </telerik:RadMenuItem>
        <telerik:RadMenuItem Text="View Full">
        </telerik:RadMenuItem>
    </Items>
</telerik:RadContextMenu>
jeff
Top achievements
Rank 1
 answered on 03 May 2011
1 answer
98 views
Hi,

Please help, I want to set autopostback to False at Radgrid filterIcon.
The purpose is to filter by multiple columns at once when I click on a button at  <CommandItemTemplate> .

Tsvetina
Telerik team
 answered on 03 May 2011
1 answer
61 views
Hello

I am trying to use a RadPanelBar with an XMLDataSource like this :

<telerik:RadPanelBar ID="pnlBar" Runat="server" Skin="Simple"  Width="100%" DataSourceID="XmlDataSource1" DataTextField="Text" DataValueField="Value"></telerik:RadPanelBar>
<asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/FluxRSS.xml"    XPath="/items/*"></asp:XmlDataSource>

with a RadButton in the same page.

But in the RadButton onClick event, pnlBar.SelectedItem is always null.
How can I do to make the selectedItem persist over a postback?

Thank your for your answer.
Read you soon.
Kate
Telerik team
 answered on 03 May 2011
7 answers
174 views
Hi

Is there a way to create and attach context menus to the items on the tree based on the level they are on after the data is bound to the tree??
Would it be any different if it were a load on demand tree.?
Because I would have or not have different context menus on different nodes depending on their level.

Thanks
Helen
Telerik team
 answered on 03 May 2011
6 answers
362 views
I get the following jscript error:

Error updating jscript Intellisense: Telerik.Web.UI.Common.Jquery-vsdoc.js:Telerik.Web.UI: '_$' is undefined @ 2217:8.

I followed the documentation as described here: http://www.telerik.com/help/aspnet-ajax/introduction-jquery-intellisense.html but the problem still exists.

What to do ?
Pavel
Telerik team
 answered on 03 May 2011
7 answers
191 views
To maintain UI consistency in the site, I'd like to use the RadWindow in a fixed position as a normal div-like container.
 
I don't need (or want) it to pop-up, float, collapse, move or disappear.

Does anyone have any suggestions, advice, or example on doing that?

Thanks,

Ken
Georgi Tunev
Telerik team
 answered on 03 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?