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

I have 2 grids. Grid 1 has several controls (dropdowns, datepicker).

Initially, using the RadAjaxManager, I ajaxified grid 1, so that it would update Grid 2 if these controls were updated (they autopost). I'm trying to improve performance, and realized that only some of the controls in Grid 1, need to update Grid2. So following the methodology found here:

http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/partialajaxification/defaultcs.aspx

I'm ajaxifying each control separately. So some controls update Grid1 only, and some update Grid1 and Grid2. This works great.

The problem that I am having, is that I have a drag and drop functionality from Grid 1, to Grid 2.

Previously, when I ajaxified the whole grid, the drag and drop was ajaxified, and both Grid 1, and Grid 2 were both updated. Now that I am doing each control individually, I've lost this functionality.

How do I declaritively setup the drag and drop to ajaxifying both Grid 1 and Grid 2 again? I don't know what "control" to use to add the AjaxSettings.

Thanks for your help.

Rich
Tsvetina
Telerik team
 answered on 18 Oct 2012
5 answers
305 views
Is it possible to setup a filter to look at the text of a label inside a GridTemplateColumn? I'm building a column and the data is compiled into a comma delimited string, set to a label. 

<telerik:GridTemplateColumn HeaderText="Properties" AllowFiltering="true"   >
    <ItemTemplate>
        <asp:label ID="lblProperties" runat="server" />
    </ItemTemplate>
</telerik:GridTemplateColumn>

lblProperties.Text is set on the ItemDataBound event. I'd like to be able to filter on lblProperties.Text but can't figure out how to do it properly. Any help would be much appreciated. 

Also, is it possible to set the filter of column X to look at the contents of hidden column Y in the grid?
Radoslav
Telerik team
 answered on 18 Oct 2012
0 answers
71 views
Hi,
I want to add a tag mapping in web.config. In my web app it works for standard controls (label) but not for RadMenu. Version of my Telerik: 2010.1.519.35. Why?
<tagMapping>
        <clear />
        <add tagType="System.Web.UI.WebControls.Label" mappedTagType="NoVSLabel"/>
        <add tagType="Telerik.Web.UI.RadMenu" mappedTagType="NoVSRadMenu"/>
</tagMapping>
I prepared classes, one of them (for Telerik):
public class NoVSRadMenu : Telerik.Web.UI.RadMenu
{
    public NoVSRadMenu()
    {
        EnableViewState = false;
    }
}
wnl
Top achievements
Rank 1
 asked on 18 Oct 2012
8 answers
415 views
I use exemple TreeView / Directory Structure.
When I click the button i get the selected file name (default.aspx) with "RadTreeView1.SelectedNode.Text"
How get the full path/address of the selected file, like "/organisation/klubbar/default.aspx"
Plamen
Telerik team
 answered on 18 Oct 2012
1 answer
114 views
I have a dashboard page that displays a grid.

One of the columns has a hyperlink in it.  What I would like to do, is in the pre-Render event for the grid, loop through the items and if there is a value in this column, add an <a> tag in that same cell (leaving the hyperlink alone), with an icon so that if they click on that icon the user will be redirected to another page. 

It could be a javascript function or codebehind that makes the call.

Anyone ever done something like this?  Anyone have any ideas?

Rich
Shinu
Top achievements
Rank 2
 answered on 18 Oct 2012
1 answer
80 views
Hi,
I'm facing an issue when RadGrid having PagerStyle Mode="NextPrevNumericAndAdvanced" is placed in fieldset and decorated by RadFormDecorator with Default skin only in IE6 as can be seen if file attached.



Galin
Telerik team
 answered on 18 Oct 2012
0 answers
108 views
Hi everyone,

I have been a Telerik unconditionnal for years, coding with the RadControls every day and loving it.

But this release (Q3 2012) was a real shock for me, as the Live Examples have moved to Metro style.I just wanted to know if I am the only one on earth hating it. It's not juts ugly, it's unpractical from a developper's point of vue. Examples are nearly unreadable. I am just wondering why you Telerik people have forced everyone to work with that Metro style ? Supporting it is a must, of course, but forcing us to use it with no possible escape is extremely disappointing.
I would like to now if other developpers are comfortable whith that Metro style Live Examples or like me, pretty mutch uncomfortable with it ?

Here is the message I have sent as a feedback.
Francois
_________________

Hi guys,

just downloaded Q3 2012 RadControls.
Thanks for the brilliant controls; after several years of using them I am still an unconditional Telerik fan.

But this time, not only you decided to support Windows 8 and Metro, which I do understand fully of course, but your entire Live Examples have permanently moved to that absolutely horrible an unpractical discusting metro style. This is a real problem. It's not juts ugly, which after all is only a metter of taste, but it's nearly unusable.

Let me explain.

In the previous versions of your samples, it was extremely easy to read the source code of the samples. Now because of the Metro formating style, it has become simply unreadable. The font size is so big and waisting so mutch space that reading it is a challenge. Nearlly all the sourcode lines are wrapping to the next line and it makes the syntax coloring completely innefficient and invisible. Maybe I'll have to buy a 50 inch screen to watch the code now (I have a 24'' actually).

It is silly, but because your are imposing on us the Metro style to even read your exeamples, watching the samples has become a profoundly unpleasant moment, were it used to be very exciting and fun. It a real and severe disappointment. Sorry.
Francois MARTIN
Top achievements
Rank 2
 asked on 18 Oct 2012
6 answers
207 views
I just upgraded my rad controls for AJAX.

I have a GridView with a radMenu embedded in it.  it uses the following code to popup a window...

RadMenuItem DetailsMI = new RadMenuItem("Properties", string.Empty);
DetailsMI.ImageUrl = "images/Details.gif";
DetailsMI.Attributes["onclick"] = string.Format("javascript:PT_ViewPage('{0}'); return(false);", DetailsURL.ToURL());
Menu.Items.Add(DetailsMI);

The JavaScript PT_ViewPage looks like this...

function PT_ViewPage(TargetURL) {
    WindowArray[WindowArray.length] = window.open(TargetURL, "", "width=900, height=800, status=no, scrollbars=yes, resizable=yes");
}

Nothing fancy here.  The problem is that before the Teleric update, the child window that is opened used to remain on top - it retained focus.  After the update, focus shifts back to the parent window.

My question is:  What changed and how do I get the windows to behave like it used to???
Princy
Top achievements
Rank 2
 answered on 18 Oct 2012
1 answer
179 views
Hi,

I need some help changing my jquery code to work with the radComboBox instead of a select. I have the following code that selects 2 select boxes.

How can I do the same with 2 radComboBoxes?

var $filters = $('#filters select[name=\"filter\"]');
Shinu
Top achievements
Rank 2
 answered on 18 Oct 2012
2 answers
139 views
When using Add Paragraph button in the HTML editor, if the paragraph is inside a table cell, then we will create some <p> tag nested within another <p> tag. HTML standard doesn't support <p> nested inside another <p> tag. 

Steps to reproduce,


1. Create a 1 cell table, add some text to the table cell in any HTML editor
2. Now select the text and click center align icon , increase the fornt, change the font -> switch to HTML view and you will notice the <p align> being added
3. Go back to the design view -> Click on the empty space between aligned text -> click on "Enter" to go to next line >  Click the Add Paragraph icon twice -> You should have the nested <P> tag. I've put the result HTML code in the comment section.
 

The datatags marked in yellow is nested inside datatag marked in red, this should not be the case.

 This datatag is in IE

<P>

<TABLE>

    <TBODY>

        <TR>

            <TD>

            <P align=left>&nbsp;<SPAN style="FONT-FAMILY: 'Palatino Linotype', 'Book Antiqua', Palatino, serif; FONT-SIZE: 16px">this is my final <BR>

            <P>&nbsp;</P>

            <P>&nbsp;</P>

            <P>&nbsp;</P>

            <P  align=left>text</P>

            </SPAN></P>

            <P align=left>&nbsp;</P>

            </TD>

        </TR>

    </TBODY>

</TABLE>

</P>


The nested P tag is creating random issues in the past and it's creating junk code under some circumstances.  Can we fix this?

Arjun
Top achievements
Rank 1
 answered on 18 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?