Telerik Forums
Community Forums Forum
1 answer
91 views
Hi,

     Could you'll please guide in filtering the paragraph option I want to retain H1, H2, H3, H4 only and delete others like Formatting, Address list etc. Please let me know which javascript file needs to changed and wat should be deleted.Im  using external .css file which contains Paragraph option from H1 to H4 but still I can find dropdown populating values for Formatting, Address etc please let me know which is this display occuring and what I need to do delete other values retaining only H1, H2, H3 and H4
Rumen
Telerik team
 answered on 23 Jun 2009
0 answers
81 views
Hello,
I want to share this useful article:
Intermediate JQuery Performance metrics and tuning

Best regards,
Mostafa Anoosheh
Mostafa Anoosheh
Top achievements
Rank 1
 asked on 22 Jun 2009
1 answer
62 views
Can you guys not put a year on the post's date information?  Too many times I'm looking at a solution in the forums and have no idea if it's from 2009 or 2006!...   and if they don't mention the version of the tools they are using...  it's impossible.
Valentine
Telerik team
 answered on 22 Jun 2009
0 answers
76 views
Hello,
Nice job: Smart Columns with CSS & jQuery

Kind regards
Mostafa Anoosheh
Mostafa Anoosheh
Top achievements
Rank 1
 asked on 22 Jun 2009
1 answer
135 views
We are pleased to announce the Beta for Q2 2009!

Demos
Full Release Notes

Download now from your account! (see attached screenshot)

We are looking forward to your feedback.

Best Regards,
Telerik Team
Jørgen
Top achievements
Rank 1
 answered on 17 Jun 2009
1 answer
126 views
when it comes to describing drawing glitches etc, it would be handy to be able to upload images etc.
if the answer is to write a support ticket / bug report, the beta version should be selectable.

Regards
Erwin
Atanas
Telerik team
 answered on 16 Jun 2009
1 answer
199 views
Hello Telerik

I have implement Drag and drop functionality in my page usign RadGrid. But I am not able to achieve this functionality.
I have taken reference of telerik Demo application 
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/draganddrop/defaultcs.aspx

But in this demo also reordring of grid rows is not working. Only movement of rows between within two grid is working 

   .aspx page code

<

 

radControls:RadScriptBlock runat="server" ID="scriptBlock">

 

 

<script type="text/javascript">

 

 

function onRowDropping(sender, args)

 

{

 

if (sender.get_id() == "<%=grdFieldValueList.ClientID %>")

 

{

 

var node = args.get_destinationHtmlElement();

 

 

if(!isChildOf('<%=grdFieldValueList.ClientID %>', node) )

 

{

args.set_cancel(

true);

 

}

}

}

 

 

function isChildOf(parentId, element)

 

{

 

while(element)

 

{

 

if (element.id && element.id.indexOf(parentId) > -1)

 

{

 

return true;

 

}

element = element.parentNode;

}

 

return false;

 

}

 

 

</script>

 


<radControls:RadGrid ID="grdFieldValueList" runat=server AutoGenerateColumns=false OnRowDrop="grdFieldValueList_RowDrop">

 

<ClientSettings AllowRowsDragDrop=true >

 

 

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

 

 

<ClientEvents OnRowDropping="onRowDropping" />

 

 

<Scrolling AllowScroll="true" UseStaticHeaders="true" />

 

 

</ClientSettings>

 

 

<MasterTableView DataKeyNames="FieldCode" GridLines="Both" BackColor="White">

 

 

<Columns>

 

 

 

<radControls:GridBoundColumn DataField="FieldCode"></radControls:GridBoundColumn>

 

 

<radControls:GridBoundColumn DataField="DisplayName"></radControls:GridBoundColumn>

 

 

 

</Columns>

 

 

</MasterTableView >

 

 

 

</radControls:RadGrid>

 


aspx.cs page code

 

private static DWField GetFieldValue(IList<DWField> valuesToSearchIn, int FieldCode)

 

{

 

foreach (DWField fieldValue in valuesToSearchIn)

 

{

 

if (fieldValue.FieldCode == FieldCode)

 

{

 

return fieldValue;

 

}

}

 

return null;

 

}

 

 

protected void grdFieldValueList_RowDrop(object sender, GridDragDropEventArgs e)

 

{

 

if (e.DestDataItem != null && e.DestDataItem.OwnerGridID == grdFieldValueList.ClientID)

 

{

 

//reorder items in grid

 

 

IList<DWField> fieldValueList = (IList<DWField>)Session["FieldList"];

 

 

DWField tmpFieldValue = GetFieldValue(fieldValueList, (int)e.DestDataItem.GetDataKeyValue("FieldCode"));

 

 

int destinationIndex = fieldValueList.IndexOf(tmpFieldValue);

 

 

if (e.DropPosition == GridItemDropPosition.Above && e.DestDataItem.ItemIndex > e.DraggedItems[0].ItemIndex)

 

{

destinationIndex -= 1;

}

 

if (e.DropPosition == GridItemDropPosition.Below && e.DestDataItem.ItemIndex < e.DraggedItems[0].ItemIndex)

 

{

destinationIndex += 1;

}

 

List<DWField> ValuesToMove = new List<DWField>();

 

 

foreach (GridDataItem draggedItem in e.DraggedItems)

 

{

 

DWField tmpOrder = GetFieldValue(fieldValueList, (int)draggedItem.GetDataKeyValue("FieldCode"));

 

 

if (tmpOrder != null)

 

ValuesToMove.Add(tmpOrder);

}

 

foreach (DWField dwField in ValuesToMove)

 

{

fieldValueList.Remove(dwField);

fieldValueList.Insert(destinationIndex, dwField);

}

 

Session[

"FieldValueList"] = fieldValueList;

 

grdFieldValueList.DataSource = fieldValueList;

grdFieldValueList.DataBind();

 

//grdFieldValues.Rebind();

 

e.DestDataItem.Selected =

true;

 

}

}


The problem is that RowDrop(Serevr side event is getting not fired  every time. It is getting fired sometimes and I am not able to find in which scenario it is getting fired .

Kindly provide me the resolution of this problem

Thanks
 Monika Sharma
Bruno
Top achievements
Rank 2
 answered on 12 Jun 2009
3 answers
103 views
Over the years, I subscribed to quite a number of forum threads. Today I wanted to unsubscribe from old threads, but found that this is quite time-consuming (go to my profile, click subscribed forum threads, click each thread, click the unsubscribe link, etc.)

Therefore I'd like to suggest that you add an unsubscribe link directly in the "subscribed threads" list (http://www.telerik.com/community/forums/subscriptions.aspx). This would make unsubscribing so much easier.

Thanks and best regards.
Kalina
Telerik team
 answered on 11 Jun 2009
0 answers
93 views
It is our pleasure to present you the much improved and completely new RadDock for WinForms (Q2 2009 Beta). You can find detailed information on what is new and improved here: RadDock for WinForms Q2 2009 Beta.Project upgrdaing instructions are also included.

The beta is available for download from your Telerik accounts --> Downloads (or Free Trials for the trial version) --> RadControls for WinForms:

RadControls for WinForms Beta Download


We are eager to get your feedback on the RadDock beta, so please use the WinForms Beta Forum to send us your comments.

Enjoy!
 
All the best,
The Telerik Team
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 09 Jun 2009
1 answer
151 views
Hi,
       Am using Radeditor list and as well as webpart, things goes fine with webpart but I have issue in List Items, Paragraph styles on Saving will not getting applied for Rich Text and the same will work fine in Enhanced Rich Text

Here the code which I could see in View source for the entered text in editors

In Rich Text

This is Rich Text

Where as In Enhanced Rich Text its the text is wrapped in div

%3cdiv class%3dExternalClassE3422639FCD448D2B1B6F8BB1322DC69%3e%3ch1 class%3dExternalClass3C796753EB8940BFADB7514CBFC2775C%3eThis is Enriched Text%26nbsp%3b%3c/h1%3e
%3c/div%3e
is it bcos its wrapped in div the paragraph styles are getting applied on save in case of Enhanced and wat we need to do for the same to get applied for Rich Text

Please guide me why this difference when text is passed in Rich Text and Enhanced Text appears like this in view source
Lini
Telerik team
 answered on 05 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?