Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
172 views
I am not able to diplay the RadTextBox with multiline.
When I set it to single line, everything seems alright. But when its multiline I can't even see the box. Any help???
Georgi Tunev
Telerik team
 answered on 21 Jul 2008
2 answers
146 views
Can I use the same ToolTipManager for loading different controls?
Svetlina Anati
Telerik team
 answered on 21 Jul 2008
1 answer
88 views
Hi,

I'm using 2008 Q1 Grid and I'm creating it programmatically at OnInit event in a web user control.
I implemented the context menu for hide columns, that's working fine, but after hide a column if I sort, filter, change the page size, it returns an error "Object reference not set to an instance of an object" in a js alert.

Any ideas?


Sebastian
Telerik team
 answered on 21 Jul 2008
1 answer
125 views
I am using the radgrid on my page. It is showing the data from the database by dataset, there is a column to show the data / time. I have enabled the grouping on grid. When i drags the date / time column on to the group portion of grid it groups the grid data by date / time but i want to group just by data not by time. I have not defined any group by clause in my sql query, my question is that how i can group the column just by date not by date / time.
Bodevain Svensson
Top achievements
Rank 1
 answered on 21 Jul 2008
3 answers
192 views
I am getting an error in RadGrid double click. This is the error.
'this._tableView._owner' is null or not an object. The script throws the error when trying to do a $find on one of the parent object. Any ideas on how to get rid of this? Also, I have no code in the grid double click. Is it possible to remove the event handler fot it?
Sebastian
Telerik team
 answered on 21 Jul 2008
4 answers
140 views
We can not get links to open in new windows.  We activated the Lite Rad Editor for lists and enabled the link button in the BasicToolbar.  We then created links using MOSSLinkManager.  When the list item is save the target is removed.  We tried using the LinkManager with the same result.

Running MOSS 2007 and the latest Rad Editor Lite version.
Jim
Top achievements
Rank 1
 answered on 21 Jul 2008
1 answer
112 views
Ola,

estou testando o ASP.NET AJAX 2008 Q1 no VB 2008, queria um exemplo para exibir o RADWindow.

Queria colocar o codigo diretamente no evento click do botão.


Att

Claudinei.
Georgi Tunev
Telerik team
 answered on 21 Jul 2008
3 answers
505 views
Hi there,

Apologies in advance if this is a daft question, but I am somewhat confused.  I am using a RadMenu control (ID="TopMasterLinksMenu") as the navigation bar for my site, with the text and URLs of the items coming from a SQL database as shown in the code below.  I want to be able to click an item in the nav bar and have the rest of the page (below the nav bar) updated without the screen flickering.  (In my site the top nav is contained in a master page, but I thought I'd simplify the example here.)

If I click an item that has no associated URL, I can use the RadAjaxManager control to have the page updated without flickering, as shown in the code below.  If I click an item with a URL, however, the whole screen flickers as the new page is loaded.  This seems logical to me, in that asking for an entirely new page is different to posting the same page back to the server; however, I can see from http://uk.news.yahoo.com/world.html, for example, that you can click on top-nav links on a site and have the lower portion of the screen be served a new page without the screen flickering.  (Try clicking e.g. Politics or Sport.)

Is there a way to do this with the RadMenu?

All advice gratefully received; let me know if you need further explanation.

Thanks,

Ed Graham

+++++++++++++++++++++++++++++++++++++

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TempTelerik.aspx.cs" Inherits="TempTelerik" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Temp Telerik</title>
    <link type="text/css" rel="Stylesheet" href="StyleSheet.css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ASPScriptManager" runat="server"></asp:ScriptManager>
    <telerik:RadAjaxManager ID="RadAjaxManager" runat="server">
      <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="TopMasterLinksMenu">
          <UpdatedControls>
            <telerik:AjaxUpdatedControl ControlID="lblLeft" />
          </UpdatedControls>
        </telerik:AjaxSetting>
      </AjaxSettings>
    </telerik:RadAjaxManager>
    <div id="TopNav">
        <div id="Title">Political Studies Association</div>
        <div id="SearchBar">Searching, logging in etc.</div>
        <div id="Divider">&nbsp;</div>
        <div id="Links">
            <telerik:RadMenu ID="TopMasterLinksMenu" runat="server" DataFieldID="ID" DataFieldParentID="ParentID" DataSourceID="SQLLinkData" DataTextField="Text" DataNavigateUrlField="URL" CssClass="TopMasterLinksMenu" onitemclick="TopMasterLinksMenu_ItemClick">
            </telerik:RadMenu>

            <asp:SqlDataSource ID="SQLLinkData" runat="server" ConnectionString="<%$ConnectionStrings:PSATestsConnectionString %>"
                SelectCommand="SELECT Menu1ID AS ID, null AS ParentID, L1 AS Text, URL FROM tblMenu1">
            </asp:SqlDataSource>
        </div>
        <div class="WhiteSpace"></div>
    </div>
    <div id="MiddleContent">
        <div id="LeftNav">
        <asp:Label ID="lblLeft" runat="server" Text="Default text" ></asp:Label>
        </div>
    </div>
    </form>
</body>
</html>

In the code-behind file:

    protected void TopMasterLinksMenu_ItemClick(object sender, Telerik.Web.UI.RadMenuEventArgs e)
    {
        lblLeft.Text = e.Item.Text;
    }

Ed
Top achievements
Rank 1
 answered on 21 Jul 2008
1 answer
150 views
Hi All


I am developing application which have lots of pdf documents. but for the business need we require to copy a part of the pdf as a picture itself which can be small pdf or any image file.

Now for the open pdf document i can easily select and copy any part of the pdf which can be paste able in MS word etc. Just wondering if i can paste it in Rad Editor or some where else from where i can generate the image file. Or some one knows the code to save the image to a file location.  


Any help will be much appreciated.

Thanks
Ricky

Rumen
Telerik team
 answered on 21 Jul 2008
1 answer
208 views
Hi

Iam trying to bind some data to a RadSchedueler, my problem however is that i would like multiple information to be shown, starttime, end time, comment and type

First i tried using LinQ to retrieve the information however it cannot format the information correctly while also Concattinating the strings.

DataClasses1DataContext db = new DataClasses1DataContext();
var q = from v in db.vagtPlans
where v.start < v.slut
select new { v.vagt_dato, v.start, v.slut, kommentar = String.Concat(v.start.Value.ToShortTimeString(),v.kommentar) };
this.RadScheduler1.DataSource = q;
this.RadScheduler1.Rebind();

Then i were optimisting and thought maybe i could do it in the DataSubjectField, not possible.

DataClasses1DataContext db = new DataClasses1DataContext();
var q = from v in db.vagtPlans
where v.start < v.slut
select new { v.vagt_dato, v.start, v.slut, kommentar = v.kommentar };
this.RadScheduler1.DataSubjectField = "start + slut";
this.RadScheduler1.DataSourceID = null;
this.RadScheduler1.DataSource = q;
this.RadScheduler1.Rebind();

How do i do this, is there somewhere where i can change what the Scheduler renders as subject or ?

Yana
Telerik team
 answered on 21 Jul 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?