Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
130 views
Hello, Telerik.
I have upgraded my application to radcontrols for asp.net ajax but now I have found some issues that dont work:
I had these lines that worked before, but not now: (function attached to treeview event: OnClientNodeChecking="TreeViewBeforeClick")

function

 

TreeViewBeforeClick(nodo)

 

{

 

nodo.expand();

 

 

var nodeDIV = document.getElementById(nodo.ClientID);

 

 

var link = nodeDIV.getElementsByTagName("A");

 

...

It does not work because nodo.ClientID is null, however nodo has value.
Can you help?
Thanks,
Daniel.
dany7487
Top achievements
Rank 1
 answered on 07 May 2009
3 answers
126 views
Hi,

I am trying to set the DateFormat attribute in the Calendar's DateInput on server side,

I have tried to access the DateInput.DateFormat property through code, but I dont seem to be able to access it.

Anyone can help with this issue?

Regards
Clinton
Clinton
Top achievements
Rank 1
 answered on 07 May 2009
2 answers
147 views
I am using the radmaskedtextbox and I am having issues when I deploy it from a 32 bit system to a 64 bit

Below is the code
 <telerik:radmaskedtextbox id="txtAltPhone" runat="server" TabIndex=12 PromptChar="_"  Mask="(###)###-####"></telerik:radmaskedtextbox>

In IE, Firefox and Opera in the 64 bit. I am able to type any characters and I am able to delete the (   )   -     from the input
What am I doing wrong
John Giblin
Top achievements
Rank 1
 answered on 07 May 2009
2 answers
134 views
hello to all expert on telerik,

                  Good day! i would like to ask help from you guys..coz i wanted to close the radwindow being popup in my project..i dont know how to do it in codes..here is my design i have page name registration now i have a two button there insert and close..in my main page i have also a button there to popup using the radwindow..now when the user click the button close inside my popup window it will redirect to another page..how can do that..

sample codes is highly appreciated

thanks to all
Fiko
Telerik team
 answered on 07 May 2009
0 answers
56 views
Hi,

for a scenario i need a part of the RadScheduler, only the Navigationbar without the calendar-part.

If a Date is change by the Navigationbar i want to use this events for another control.

Is there a way to realize this?

Regards
Laz
Top achievements
Rank 1
 asked on 07 May 2009
2 answers
100 views

Hi.

I have added my "own" paragraphs in the Toolsfile.xml like this:(after the tools section)

<paragraphs>
  <paragraph name="Clear formatting" value="&lt;body>" />
  <paragraph name="&lt;H1>Heading 1&lt;/H1>" value="&lt;H1>" />
  <paragraph name="&lt;H2>Heading 2&lt;/H2>" value="&lt;H2>" />
  <paragraph name="&lt;H3>Heading 3&lt;/H3>" value="&lt;H3>" />
  <paragraph name="&lt;H4>Heading 4&lt;/H4>" value="&lt;H4>" />
  <paragraph name="&lt;H5>Heading 5&lt;/H5>" value="&lt;H5>" />
  <paragraph name="&lt;H6>Heading 6&lt;/H6>" value="&lt;H6>" />

</paragraphs>

Selecting Heading 1-6 works just fine, but not the "clear formatting" one. Any idea what I am doing wrong here?
Sometimes I've been able to get an error trying to select it (not always):

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618; InfoPath.2; MS-RTC EA 2)
Timestamp: Mon, 4 May 2009 13:37:23 UTC

Message: 'this.get_document().body' is null or not an object
Line: 8774
Char: 1
Code: 0
URI: http://tsipdev2/ScriptResource.axd?d=6X5KGxhvs4STRm41XlJ9nMALA_QnYSK1BQdP6vGxNMid8UKZc73YFS9lJ-kDseEu7yjqAJg5J655lMgPgoiBCcqPkTFmZ79OHA69tHHgkc0JkkEULpPjMBnH3wfbzs2r0&t=ffffffffa52cf09d

Nil
Top achievements
Rank 1
 answered on 07 May 2009
1 answer
59 views

I just converted my project to .Net 3.5, works fine form vs2008 but when I deployed to the  test environment I get 'Sys' undefined error on every page I use the Telerik controls. Any idea what are I am missing?

Ahmed.

Sebastian
Telerik team
 answered on 07 May 2009
1 answer
164 views
I was looking for an easy way of upgrading my custom sharepoint user controls with <Sharepoint:InputFormTextBox> tags to the <MOSSRadEditor> tags.

I was struggling to get the component registered through html, because you only provided code for building webparts from the codebehind. Funny thing was that there is no intellisense in visual studio but this is working for me.

Is there a description of the properties and tags I can use from within HTML like this:
...

<%

@ Register Tagprefix="radE" Namespace="Telerik.SharePoint" Assembly="RadEditorSharePoint, Version=5.4.0.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" %>

 

 

<radE:MOSSRadEditor ID="RuimteBetalendeIntegraties" runat="server" Content='<%#DataBinder.Eval(adapter,"Product.RuimteBetalendeIntegraties")%>' Visible="false" ControlMode="Edit">

 

 

</radE:MOSSRadEditor>

 

 

<%

--<SharePoint:InputFormTextBox ID="RuimteBetalendeIntegraties" Text='<%#DataBinder.Eval(adapter,"Product.RuimteBetalendeIntegraties")%>'

 

runat="server" TextMode="MultiLine" Rows='<%#richtTextRows%>' Columns="40" RichText="true"

RichTextMode="FullHtml" AllowHyperlink="true" Visible="false" />

<SharePoint:InputFormTextBox ID="ReRuns" Text='<%#DataBinder.Eval(adapter,"Product.ReRuns")%>'

runat="server" TextMode="MultiLine" Rows='<%#richtTextRows%>' Columns="40" RichText="true"

RichTextMode="FullHtml" AllowHyperlink="true" Visible="false" />--

 

%>

 

Stanimir
Telerik team
 answered on 07 May 2009
6 answers
237 views

I am uploading images to a database and only want to show a hyperlink if an image was uploaded.

If a user does not upload a file to the database, I write a null to the "FileBytes" field and in the stored procedure code check for nulls. If a null is found, then I don't update the FileBytes field. This works ok for files already uploaded but if no file has been uploaded, then i get an error when the user click the hypelink in the grid.

In my aspx page i have the following markup inside a Grid:

 

........
</
telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn HeaderText="Image" UniqueName="Upload">

 

 

 

    <ItemTemplate>

 

 

 

        <a href="#" onclick='ShowImage("<%# Eval("UID") %>");return false;'>

 

 

 

        <asp:Image runat="server" ID="ImageThumbnail" AlternateText="Click here to open the real size image"

 

 

 

        ImageUrl='<%# "showimagecs.aspx?thumbnail=true&ID=" + Eval("UID")%>' Style="border-width: 0px;" />

 

 

 

        </a>

 

 

 

    </ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

........

How can i hide the click able link if the 'FileBytes' field is empty so the user can't click the link and get an error ie what's the best way of showing a grid cell with nothing in it?

Kind regards
Andrew
Andrew M
Top achievements
Rank 1
 answered on 07 May 2009
3 answers
75 views
Basically I want to do a simple alert window using RadMenu. When a button is clicked, some checks are made on server and then if they fail I want to display a RadWindow with a message. I can't find a solution. Any help is appreciated!

Thanks,
C
Cris
Top achievements
Rank 1
 answered on 07 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?