Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
65 views
I've basically put together a prototype based on your demos and forum entries as a way to re-familiarize myself with Telerik.

I've been looking at your page: http://www.telerik.com/help/aspnet-ajax/upload-manipulating-files.html

I've a RadUpload control on a RadGrid form template.  I have a button that I copied from one of your demos that fires the RadGrid_InsertCommand.   I know how to do a file.SaveAs(path name) and put it into the temp folder of the app.  The problem is that by the time I do a Save As, the original file is already in the temp folder under it's original name. 

Is there anyway to intercept and rename it before it gets in there?  (The idea is to garantee every file in the temp folder has a unique name, no matter how briefly they're in there.)
Boris
Top achievements
Rank 1
 answered on 09 Nov 2012
1 answer
89 views
I am trying to have multiple user controls, each with a different map embedded within them -- using Google Maps.  I'm using the tabstrip and multi-page to accomplish this functionality.

Everything works fine until I add markers to the map contained in an ajaxified panel.  One loading the second panel with markers it it I get cast errors on postback.  How can I include javascript on a secondary control so that it runs properly after postback.
Maria Ilieva
Telerik team
 answered on 09 Nov 2012
1 answer
105 views
Hi Guys,

I'm experiencing a problem and was hoping you may be able to point out if there is a way round it.

I have a radtabstrip that is dynamically loading user controls on click via the radajaxmanager.

This all works as expected except the user controls all contain javascript on them.
None of the javascript is recognised when loaded via the radajaxmanager and thus a number of controls on the page don't function correctly.

How should I be implementing javascript within a user control that is loaded dynamically via the radajaxmanager?

Thanks

Thad
Top achievements
Rank 2
 answered on 09 Nov 2012
1 answer
294 views
hi

i am getting the following error , ive looked through the forums and i cant seem to find any help , the main problem is that i cant replicate it , i have tried on different browsers etc and i cant replicate it .

i am only getting it on a few client machines.

[ArgumentException: Invalid JSON primitive: .]
   System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject() +930307
   System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth) +376
   System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer) +120
   System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) +57
   Telerik.Web.UI.RadButton.LoadPostData(String postDataKey, NameValueCollection postCollection) +238
   System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +1018
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2653

can you give any suggestions on where i can look to find the error.

Maria Ilieva
Telerik team
 answered on 09 Nov 2012
1 answer
91 views
Hi,

I want to merge common cell values to single cell(like row span)

My Data:

UserName Name Date
------------------------------------------
user somename 1/12/12
user somename 2/12/12
user somename 3/12/12
user somename1 2/11/12
user somename1 3/11/12
user somename1 4/11/12
user somename2 6/12/12
user somename2 7/12/12
user somename2 5/12/12

I want like this

UserName        Name             Date
------------------------------------------
                                                  1/12/12
                         somename        2/12/12
                                                  3/12/12
                       -----------------------------------
                                                  2/11/12
user                 somename1      3/11/12
                                                  4/11/12
                       ----------------------------------
                                                   6/12/12
                        somename         7/12/12
                                                   5/12/12

when we using grouping it will display all the names. but we need only one name(User have 9 times but we need to display one time)
Andrey
Telerik team
 answered on 09 Nov 2012
3 answers
251 views
Hi,

I want to merge common cell values to single cell(like row span)

My Data:

UserName Name Date
------------------------------------------
user somename 1/12/12
user somename 2/12/12
user somename 3/12/12
user somename1 2/11/12
user somename1 3/11/12
user somename1 4/11/12
user somename2 6/12/12
user somename2 7/12/12
user somename2 5/12/12

I want like this

UserName Name Date
------------------------------------------
1/12/12
somename 2/12/12
3/12/12
2/11/12
user somename1 3/11/12
4/11/12
6/12/12
somename2 7/12/12
5/12/12


Andrey
Telerik team
 answered on 09 Nov 2012
6 answers
691 views
HI,
 We have Date Filter and Text Filter Columns, When we apply only Date filter it's filtering the records properly,
But when we trying to apply the Date filter  with  any other text filters then its igoring the date filter and its not persisting the current value of Date filter.
E.g.
Suppose we have three filters F1, F2 (text filters) and F3 is date filter.
Now for the first time when we apply F3 with F1, the records are filtered properly but when we apply filter F2  in addition to previous filters then its ignoring the F3 and it is  not persisting the current value of F3. The records are filtered based on F1 and F2 filter even if there is F3 filter applied.
Eyup
Telerik team
 answered on 09 Nov 2012
1 answer
87 views

Hi,
i am new to telerik and want to use the telerik controls in my .net application.
my application is alraedy running into production so just need to replace .net controls with telerik with same view.

i applied my custom skin in telerik grid but its not appearing properly so could you please help me.
show that i will craete a test page and show to my manager fo approval of telerik license.

here is the code for telerik grid ...
<telerik:RadGrid ID="RadGrid2" DataSourceID="ObjectDataSource1" AllowPaging="True" runat="server" Skin="skinRadGrid" EnableEmbeddedSkins="false" AllowFilteringByColumn="True" AllowSorting="True"

CellPadding="1" CellSpacing="1" ShowFooter="True" ShowGroupPanel="True"

 

Width="950px" >

 

<ClientSettings AllowDragToGroup="True" AllowColumnsReorder="true" AllowRowsDragDrop="true" ReorderColumnsOnClient="true">

 

<Scrolling AllowScroll="false" UseStaticHeaders="True" />

 

<Resizing AllowColumnResize="True" AllowRowResize="false" ResizeGridOnColumnResize="false"

 

ClipCellContentOnResize="true" EnableRealTimeResize="false" AllowResizeToFit="true" />

 

<Selecting AllowRowSelect="true" EnableDragToSelectRows="true" />

 

</ClientSettings>

 

<MasterTableView AutoGenerateColumns="False" DataSourceID="ObjectDataSource1">

 

<CommandItemSettings ExportToPdfText="Export to PDF" />

 

<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True"> 

</RowIndicatorColumn>

 

<ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">

 

</ExpandCollapseColumn>

 

<Columns>

 

<telerik:GridBoundColumn DataField="EVA_title" ItemStyle-Width="120px"FilterControlAltText="Filter EVA_title column" HeaderText="Title" SortExpression="EVA_title" UniqueName="EVA_title">

 

</telerik:GridBoundColumn>

 

<telerik:GridBoundColumn DataField="EVA_author" ItemStyle-Width="90px"FilterControlAltText="Filter EVA_author column" HeaderText="Author" SortExpression="EVA_author" UniqueName="EVA_author">

 

</telerik:GridBoundColumn>

 

</Columns>

 

<EditFormSettings>

 

<EditColumn FilterControlAltText="Filter EditCommandColumn column">

 

</EditColumn>

 

</EditFormSettings>

 

</MasterTableView>

 

<FilterMenu EnableImageSprites="False">

 

</FilterMenu>

 

</telerik:RadGrid>


please see the attached screen shot what i am geeting on page ...

please suggest as i want the same look n feel as my .net grid skin.

and here is the skin which i am using in my Default.skin class for both grids..

<

 

 

asp:GridView runat="server" SkinID="skinGridDetail1" AutoGenerateColumns="False"

 

CaptionAlign="Left" CellPadding="1" ForeColor="#333333"

 

GridLines="Vertical" HeaderStyle-BackColor="#D7D2D1" CssClass="styleCaption2"

 

BorderStyle="Solid" BorderColor="Silver" BorderWidth="1px"

 

Font-Names="Tahoma" Font-Size="8pt" VerticalAlign="Middle" >

 

<HeaderStyle BackColor="#D7D2D1" ForeColor="black" Height="16px" HorizontalAlign="Center" BorderStyle="Solid" BorderWidth="1" BorderColor="Silver" Font-Bold="False" VerticalAlign="Middle"/>

 

<RowStyle BackColor="white" Height="16px" VerticalAlign="Middle"/>

 

<AlternatingRowStyle BackColor="#F8F8F8" Height="16px" VerticalAlign="Middle" />

</

 

 

asp:GridView>

<

 

 

telerik:RadGrid runat="server" SkinID="skinRadGrid" AutoGenerateColumns="False"

 

CaptionAlign="Left" CellPadding="1" ForeColor="#333333"

 

GridLines="Vertical" HeaderStyle-BackColor="#D7D2D1" CssClass="styleCaption2"

 

BorderStyle="Solid" BorderColor="Silver" BorderWidth="1px"

 

Font-Names="Tahoma" Font-Size="8pt" VerticalAlign="Middle" >

 

<HeaderStyle BackColor="#D7D2D1" ForeColor="black" Height="16px" HorizontalAlign="Center" BorderStyle="Solid" BorderWidth="1" BorderColor="Silver" Font-Bold="False" VerticalAlign="Middle"/>

 

</telerik:RadGrid>





Eyup
Telerik team
 answered on 09 Nov 2012
8 answers
229 views
Hello,
i have problems with the context menu and the Opera Browser. In all other Browser IE or FireFox the context menu will be shown correctly only in Opera ( I testes 9.63 and 10.x) the standard Opera context menu will be shown and not the rad context menu.

greetings
Meik Napierski
Martin Roussel
Top achievements
Rank 1
 answered on 09 Nov 2012
1 answer
96 views
Hi,

We are creating tabs on our using client side api of tab strip. We have set EnableDragToReorder for this tabstrip. However we are not able to reorder tabs using drag and drop mechanism. We are able to reorder tabs if they are predefined but it doesnt work dynamically generated tabs. Events like onclienttabdragstart, onclientreordering are also not generated in this case.

Please let us know if we need to do something different to achieve reordering of dynamically generated tabs ?

Regards,
Kiran
Dimitar Terziev
Telerik team
 answered on 09 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?