Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
122 views
Hi,

My grid requires some bound columns, template columns and unboundcolumns. At design time in .aspx file how should I declare for unbound column.

Eg:

<

 

 

telerik:GridBoundColumn >

 

<

 

 

telerik:GridTemplateColumn >
<Unbound column> -- Based on certain conditions, this column gets populated in code behind and then gets displayed. Initially, it will be hidden.

Thanks,
Prathiba.

 

Princy
Top achievements
Rank 2
 answered on 12 Apr 2013
3 answers
120 views
How to show context menu on clicking button column in radgrid?
Shinu
Top achievements
Rank 2
 answered on 12 Apr 2013
2 answers
152 views
I have a RadAsyncUpload control that I have just gotten coded and installed.  It was a replacement for a RadUpload control.

It appears to be working fine when I test locally and on our Development Server, however when I moved it to our PROD webfarm environment it has been causing intermittant problems with uploads.  Now, I've been able to figure out what the problem is...it is writing the chunks from the file on different servers.  The problem is that so far I have not been able to come up with a solution that I can use, and the documentation for the different properties of the new control is either non-existent or inadequate.  I cannot use a Shared Folder as this is not allowed in our production environment.  And for the Telerik folks, this is a pretty common restriction.

I was trying to use the new DisableChunkUpload property, but all that does is throw an exception "Request filtering is configured on the Web server to deny the request because the content length exceeds the configured value".  And BTW...yes I do have the web.config set to allow 20Mb files.  Which is of course what I'm testing, but when I don't use the DisableChunkUpload="true" that validation happens on the client and I have that message handled.  Does anyone know why the client validation does not work with that property set to true?

I was also going to try just setting the DisableChunkLoad=false, and then set a size for the ChunkSize property that was equal to the size of the MaxFileSize since we are only allowing a max of 20MB files, but so far I have been unable to find any documentation on the maximum size that property value can be set to, or whether it is in bytes or Kb or what.  I am assuming that since the MaxFileSize is in bytes this one is too but I don't know.

Has anyone tried using the DisableChunkUpload property and gotten it to work?  Are there other properties that I have to remove if I use it (for instance, should ChunkSize be removed? Set to 0?)  So far none of the combinations of properties I have tried have worked.  If I have DisableChunkUpload set to true, all it does is stop in the java code generated behind the scene and gives me the above error.

Does anyone know if I can set the TemporyFolder to another server...like a FTP server or to something like a box.com?

Thanks all in advance.
Genady Sergeev
Telerik team
 answered on 12 Apr 2013
1 answer
198 views
Hi,

I want to fit "RadImageEditor1" in "RadpaneMiddle", width is ok but height not work.

What i can do?

Here is my code:
<telerik:RadSplitter ID="RadSplitter1" runat="server" Height="100%" Width="100%" Orientation="Horizontal">
    <telerik:RadPane runat="server" ID="RadPaneTop" Height="20%">
        <div>top</div>
    </telerik:RadPane>
    <telerik:RadSplitBar runat="server" ID="RadSplitbar1" CollapseMode="Forward">
    </telerik:RadSplitBar>
    <telerik:RadPane runat="server" ID="RadpaneMiddle" Height="80%">
        <telerik:RadImageEditor ID="RadImageEditor1" runat="server"
                ImageUrl="/img/logo_multim_120x53.gif"
                Width="100%" Height="100%">
        </telerik:RadImageEditor>
    </telerik:RadPane>
    <telerik:RadSplitBar runat="server" ID="RadSplitbar2" CollapseMode="Forward">
    </telerik:RadSplitBar>
    <telerik:RadPane runat="server" ID="Radpane1" Height="20%">
        <div>bottom</div>
    </telerik:RadPane>
</telerik:RadSplitter>




Regards,

Milko Rivas
Vessy
Telerik team
 answered on 12 Apr 2013
1 answer
147 views
Hi,

RadRotator works on localhost but not on the webserver, i have Telerik.Web.UI and Telerik.web.Design DLLs in the bin folder.
It Pretty Straight forward code. what am i missing.

you can check out the test page here        http://dev.bonaventurebillings.com/Test.aspx

any help is appreciated, Thank you.

Murali.
<telerik:RadRotator ID="RadRotator1" runat="server" Width="224px" Height="112px" CssClass="rotatorStyle" ItemHeight="112" ItemWidth="112" ScrollDuration="500" Skin="Outlook">

 

<Items>

 

<telerik:RadRotatorItem>

 

<ItemTemplate>

 

<asp:Image runat="server" ID="Image" ImageUrl='~/Images/Gallery/thumb1fullSize.jpg'

 

CssClass="RotatorItem" AlternateText="Customer Image"></asp:Image>

 

</ItemTemplate>

 

</telerik:RadRotatorItem>

 

<telerik:RadRotatorItem>

 

<ItemTemplate>

 

<asp:Image runat="server" ID="Image1" ImageUrl='~/Images/Gallery/thumb2.gif'

 

CssClass="RotatorItem" AlternateText="Customer Image"></asp:Image>

 

</ItemTemplate>

 

</telerik:RadRotatorItem>

 

 

</telerik:RadRotator>

Joana
Telerik team
 answered on 12 Apr 2013
8 answers
56 views
hi all, we use r.a.d. editor for our MCMS 2002.  We have a person at my company that the RADControl won't display for his Internet Explorer 8 browser.  I run IE8 and it displays for everyone else fine except for this one person.  I checked his INternet Explorer Security Settings and match it to my and it is fine.  I cannot pinpoint why the control won't render on his browser when it renders fine on my. 

I know this particular control is out of support and MCMS 2002 is very very old....I thought I would throw the question out there to anyone that might have an idea or a place where I can look to get the RADControl to render on his web browser.
Thanks in advance.
Rumen
Telerik team
 answered on 12 Apr 2013
3 answers
267 views

Hi;
I'm following your suggested method of creating a rad rotator programmatically.  I get no errors, when i run the ajax enabled website, however, non of the images show...i simply get a blank page.
when i do a view source. i get:

<div id="RadRotator1" class="RadRotator radr_Default " style="width:200px;height:200px;">
	<!-- 2008.2.723.20 -->
<div class="radr_relativeWrapper"> <div class="radr_clipRegion">
<ul class="radr_itemsList"> <li class="radr_item"><div id="RadRotator1_i0"> <div><img src="/radrotator2/images/sharePointRt2.jpg" alt="RadRotator Demo" style="width:350px;border-width:0px;" /></div> </div></li>
        <li class="radr_item"><div id="RadRotator1_i1"> <div><img src="/radrotator2/images/sharePointRt1.jpg" alt="RadRotator Demo" style="width:350px;border-width:0px;" /></div> </div></li> </ul> </div><a class="radr_button radr_buttonUp" href="javascript:void(0);">&nbsp;</a><a class="radr_button radr_buttonLeft" href="javascript:void(0);">&nbsp;</a><a class="radr_button radr_buttonRight" href="javascript:void(0);">&nbsp;</a><a class="radr_button radr_buttonDown" href="javascript:void(0);">&nbsp;</a> </div><input id="RadRotator1_ClientState" name="RadRotator1_ClientState" type="hidden" /></div>









here is my code:





using

System;

using

System.Data;

using

System.Configuration;

using

System.Web;

using

System.Web.Security;

using

System.Web.UI;

using

System.Web.UI.WebControls;

using

System.Web.UI.WebControls.WebParts;

using

System.Web.UI.HtmlControls;

using

Telerik.Web.UI.Rotator;

using

System.Collections;

public

partial class _Default : System.Web.UI.Page

{

protected void Page_Load(object sender, EventArgs e)

{

Telerik.Web.UI.

RadRotator rr = new Telerik.Web.UI.RadRotator();

rr.ID =

"RadRotator1";

rr.FrameDuration = 6000;

rr.InitialItemIndex = 0;

rr.ItemTemplate =

new RadRotatorTemplate();

rr.DataSource = CreateRotatorData();

rr.DataBind();

this.Controls.Add(rr);

}

private ArrayList CreateRotatorData()

{

ArrayList al = new ArrayList();

al.Add(ResolveUrl(

"~/images/sharePointRt2.jpg"));

al.Add(ResolveUrl(

"~/images/sharePointRt1.jpg"));

return al;

}

}

public

class RadRotatorTemplate : ITemplate

{

public RadRotatorTemplate() { }

#region

ITemplate Members

public void InstantiateIn(Control container)

{

LiteralControl lc1 = new LiteralControl("<div>");

container.Controls.Add(lc1);

Image img = new Image();

img.AlternateText =

"RadRotator Demo";

img.Width =

Unit.Pixel(350);

img.DataBinding += img_DataBinding;

container.Controls.Add(img);

LiteralControl lc2 = new LiteralControl("</div>");

container.Controls.Add(lc2);

}

#endregion

void img_DataBinding(object sender, EventArgs e)

{

Image img = sender as Image;

Telerik.Web.UI.

RadRotatorItem item = img.NamingContainer as Telerik.Web.UI.RadRotatorItem;

img.ImageUrl = (

string)item.DataItem;

}

}



Any help would be appreciated...
thanks
Charles






Slav
Telerik team
 answered on 12 Apr 2013
7 answers
110 views
I'd like to have the rotator move both left and right  as in the example 

http://demos.telerik.com/aspnet-ajax/rotator/examples/gallery/defaultcs.aspx

the problem is I can do it in the aspx file
<telerik:RadRotator ID="thumbRotator" runat="server"   
         RotatorType="ButtonsOver" Width="572" 
         Height="118px" ItemHeight="118" ItemWidth="145" FrameDuration="1"   
         ScrollDirection="Left,Right" OnItemClick="ShowImage">  
 

but in the aspx.cs file I seem to only be able to set 1 value

        RadRotator thumbRotator = new RadRotator();  
 
        thumbRotator.RotatorType = RotatorType.ButtonsOver;  
        thumbRotator.Width = Unit.Pixel(572);  
        thumbRotator.Height=Unit.Pixel(118);  
        thumbRotator.ItemHeight=Unit.Pixel(118);  
        thumbRotator.ItemWidth=Unit.Pixel(145);  
        thumbRotator.FrameDuration=1;  
        thumbRotator.ScrollDirection = (RotatorScrollDirection.Left) ; 

Any ideas?

Thanks

Bob

Slav
Telerik team
 answered on 12 Apr 2013
3 answers
42 views
I'm using a rad grid with EnableSEOPaging with UseRouting. It work great but the problem is that I need to maintain the anchor link.
For example

/BrowseProducts/BUILDW/?#BUILDING-MATERIALS

should go to
/BrowseProducts/BUILDW/2?#BUILDING-MATERIALS

but goes to:

/BrowseProducts/BUILDW/2

Any suggestions?

Thanks
Radoslav
Telerik team
 answered on 12 Apr 2013
1 answer
119 views
Hi Guys,

I'm starting work on a project who is based on the Telerik RadAjaxManager control and our own control, but seems like the new registered JS on the fly doesn't be called or executes. To simplify the problem, I created a demo control which is really simple and just shows a js "alert" dialog. Also I created a demo to show how we use this demo control and "Telerik RadAjaxManager", if you download the attachment and run the demo, the "Default.aspx" will be shown and a "alert" dialog display,but the problem is that the "alert" dialog doesn't show up again if we click "click me" button. I don't know why. I'm not sure if there is anything wrong I did or it's bug for Telerik RadAjaxManager, if I remove the RadAjaxManager, everything will be fine. please help, it's really urgent for us.

More information:
My development machine: Win7 X64, en-us culture, Vs2010
Telerik.Web.UI.dll version: 2013.1.403.40

The demo attached download address: https://www.dropbox.com/s/mos9y7l4by4dytb/RedControlAjaxIssue.zip


Best Regards,
Johnny
Maria Ilieva
Telerik team
 answered on 12 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?