Telerik Forums
UI for ASP.NET AJAX Forum
14 answers
332 views
The new site is (as we say in Canada) beauty, eh!

So let's say that I own some Sitefinity licenses (which I do) and I like pretty much most of the customization work that you've done for the new telerik.com site.  Is there any chance you guys kept track of all the work you had to do to make your own site work well with Sitefinity and you'd like to pass that info on to us in the form of a blog series?  Sitefinity itself is a great product, and its documentation has come a long ways, but it's still tricky to get it to work as expected sometimes.  Personally, I'd like to see how you guys were able to take your existing forums and integrate them into Sitefinity - in particular I'd like to know if you're using any of the standard Sitefinity Forums controls for this.

If you did build any custom controls for the pages on the telerik.com site, is there any chance you can make these available to your loyal SItefinity users to see how the "pros" took a real-world situation and made it work with Sitefinity?  That would be just super, particularly since alot of people will have been familiar with the old telerik site and would be very interested to know how you made the transfer to the new site.

Again, the new layout is much better than before and kudos for the Q3 release in general.  It's been probably the smoothest release I've witnessed over the past 3 years.  Thanks

Shaun
PureCode
Top achievements
Rank 2
 answered on 11 Nov 2008
2 answers
404 views
I'm simply trying to format a date in a bound column to mm/dd/yyyy format. Here is the column:

<telerik:GridBoundColumn DataField="DOB" EmptyDataText="&amp;nbsp;"   
     HeaderText="DOB" SortExpression="DOB" UniqueName="DOB"   
     DataFormatString="{0:MM/dd/yyyy}" DataType="System.DateTime" 
     HtmlEncode="false">  
  <HeaderStyle Wrap="False" /> 
</telerik:GridBoundColumn> 

Looks like a bug to me...please don't tell me I have to catch every row as it is databound to reformat these columns.
jfkrueger
Top achievements
Rank 1
 answered on 11 Nov 2008
2 answers
115 views
I have just upgraded my version of telerik controls to the latest release: RadControls for ASP.NET AJAX 2008.3 1105 and the behaviour of my grids has changed. Now when the page is loaded just a menubar apears and I have to move the mouse over the bar for the grid rows to appear. My grid is rendered within an aspx page that is called from the pane of a splitter control on another page. This was all working perfectly before!

Any clues as to what has changed in this release to effect this behaviour?
thepilsbury
Top achievements
Rank 1
 answered on 11 Nov 2008
1 answer
260 views
Hi!

I´m having trouble styling my radDock items.

Heres the markup:
<div id="radDock1" class="raddock RadDock_Gray rdCollapsed span-6" style="width:300px;">

I want to set the width with my css-class (span-6) but it get overriden by the inline style width: 300px. Where does this come from? ! can´t get rid of it. I´ve tried:

    protected void Page_Load(object sender, EventArgs e)
    {
        radDockZone2.Style.Add("background", "url(App_Themes/DarkGray/Images/grid.png)");
        radDock1.Style.Remove("width");
        radDock1.Style.Clear();        
    }

and even:

    protected void RadDock_OnPreRender(object sender, EventArgs e)
    {
        RadDock dockItem = (RadDock)sender;
        dockItem.Style.Clear();
        radDock1.Style.Clear();
    }

I don´t want my radDock 300 pixles wide and I don´t wan´t to set it with the Width property. What to do?

Kind regards David

PS The first line in my Page_Load sets the background in the radDockZone. is there a better way of doing this? DS





Petko
Telerik team
 answered on 11 Nov 2008
0 answers
116 views
Hi,

I am having problems with Radtreeview and Whale Intelligent Application Gateway VPN. VPN acts as a proxy server and all request handled by it. When I conneted directly to web site no problem about ajax calls on radtreeview but over VPN ajax doesn't  work. I searched for the problem and found that radtreeview ajax call paths are wrongif I connect over vpn. For example,  when I connect the site directly (http://site.com/directory), there is no problem. But over VPN (redirects to https://vpnsite.com/whalecomb6cde8cb45a6deaaa6897890b9294a9f08f85c/whalecom0/directory/ when I login) it doesn't work. Ajax calls on VPN still uses http://site.com/directory URL even I have set AjaxUrl property to full path;

RadTreeView1.AjaxUrl = "http://" + Request.ServerVariables["SERVER_NAME"].ToString() + ":" + Request.ServerVariables["SERVER_PORT"].ToString() + Request.CurrentExecutionFilePath; 

VPN software doesn't convert URL's in javascripts
and
"whalecomb6cde8cb45a6deaaa6897890b9294a9f08f85c/whalecom0"

which is automaticly generated by VPN(it changes on every session) causes the problem. 

The site should work both directly and over VPN. 

Has anyone experienced this kind of problem or has any suggestion?
Thanks
mkavici
Top achievements
Rank 2
 asked on 11 Nov 2008
1 answer
126 views
I'm sure this has been asked before, but is there a *simple* way to have the toolbar enabled during the HTML mode? The idea is that HTML would be inserted into the textarea when commands are selected while in this mode, as opposed to having to type it manually.

-bcc
Serrin
Top achievements
Rank 1
 answered on 11 Nov 2008
1 answer
144 views

Hi,

I have a radComboBox on a webform.  The web form also has an aspNet button that does a postback on click.  When the postback occurs the combo box loses it’s formatting.  See screen cast that shows the issue:

http://screencast.com/t/9UrhH8Gb

 

Can you please let me know how to fix this?

Atanas Korchev
Telerik team
 answered on 11 Nov 2008
1 answer
96 views
Hi,

I just found out, that th OnClientClose handler is not triggered on firefox. IE and Opera works fine.
Here's an example:
<head runat="server"
    <title></title
    <script type="text/javascript"
        function cclose() { 
            alert(); 
        } 
    </script> 
</head> 
<body> 
    <form id="form1" runat="server"
    <telerik:RadScriptManager ID="ScriptManager1" runat="server"
    </telerik:RadScriptManager> 
     
    <telerik:RadWindow ID="RadWindow1" runat="server" 
        OnClientClose="cclose" 
        Visible="true" 
        VisibleOnPageLoad="true" 
        Skin="Office2007" 
        KeepInScreenBounds="true" 
        NavigateUrl="http://google.de"
    </telerik:RadWindow> 
    </form> 
</body> 

The alert() popup does not appear on Firefox.
What's the reason for this problem? Is there a fix?

Best regards,
Robert
Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 11 Nov 2008
1 answer
102 views
I am an end user of RadEditor.  I am looking at End User Manual for this product (RadEditorAjaxUserManual) that I downloaded from this site.  I am trying to resize an image with the tool via right clicking on image - selecting Set Image Properties - and then adjusting Height and Width of image.  I am trying to Constrain image (adjust proportionally) via clicking on the word "Constain" in my version of the tool.  However, I really do not understand how clicking to lock image aspect works.  And, no elaboration is provided in the user manual.  Even if I lock image aspect, when I close dialog box and re-open, aspect lock is not maintained.  How do I lock permanently; or, until I click Constrain to unlock.  And, how do I adjust image Height - Width?  Do I enter Width - click Contrain - and tool automatically adjusts Height? 

Also, do you have a more up to date version of User Manual?

Thank you.
Serrin
Top achievements
Rank 1
 answered on 11 Nov 2008
5 answers
265 views
Hi,

What I want to achieve is: get the text of the node including the tags that are saved inside the node. I want to remove the '-' inside a span.
Problem: using the get_text() cause <span> to disappear (i think it is being stripped). So i used get_textElement().innerHTML. i tried to assign the text back to the innerHTML, but the result was that the '-' is still present, which means it was not successful in assigning the value to the node.
function OnClientDoubleClick_Node(sender, args)
{
    var text = args.get_node().get_textElement().innerHTML;
    while (text.match("<SPAN>-</SPAN>") != null)
    {text = text.replace("<SPAN>-</SPAN>", "");}
    args.get_node().get_textElement().innerHTML = text;
}

i also tried to use the set_text(). but i also have a problem here. when i double click the node.
the text from node is already correct. but this: <INPUT size=144 value="text from node"> keeps showing up.
function OnClientDoubleClick_Node(sender, args)
{
    var text = args.get_node().get_textElement().innerHTML;
    while (text.match("<SPAN>-</SPAN>") != null)
    {text = text.replace("<SPAN>-</SPAN>", "");}
    args.get_node().set_text(text);
}

regards,
jonathan
Atanas Korchev
Telerik team
 answered on 11 Nov 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?