Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
478 views
In previous versions of RadControls for ASP.NET I was able to still have a standard button perform a postback which set the visible attribute of a previously hidden panel to true. That seems to have changed with the later versions.

In short, how can I have major sections of a page appear on a button press without having to set visible properties on multiple controls - eg previously I was just able to show / hide a complete panel. What is the recommended way of achieving this now?

Apologies for what must be a trivial question!
Maria Ilieva
Telerik team
 answered on 28 Apr 2010
2 answers
92 views
Hello Telerik,

Could you check and suggest a fix for why these buttons appear like this in IE8?  Nothing special except that they are inside a content page and they are ASP:buttons.

It's like the button image shifted down?
Georgi Tunev
Telerik team
 answered on 28 Apr 2010
3 answers
61 views
I am using version 5.6.2.0 of the control.

I would like to know how to get the image manager to show the parent's site images library.

This is what I have, which properly shows the root site collection image library and the current site's image library:
  <property name="ImagesPaths">  
    <item>/SiteCollectionImages</item> 
    <item>PublishingImages</item> 
  </property> 

What I need to do is basically add: ../PublishingImages to go up one level
But when I add this, the control shows "Not Found".

Is there a way to do this.

Thanks.
Stanimir
Telerik team
 answered on 28 Apr 2010
5 answers
345 views

Hi all,

I have a grid with the header context menu enabled. It is a nice feature to let the user show/hide columns.
But when a column is unchecked on the context menu, it is just removed from the grid and the other columns are not resized to fit the original width of the grid.

Is there a way to do that ? Is it possible to track column showing/hiding on server side ?

Thanks,
Laurent.
John John
Top achievements
Rank 1
 answered on 28 Apr 2010
1 answer
223 views
Hi all,

I am using a Raddock in my application.
For expand and Collapse there is a default button
(up and down button. I have attached it in the scren shot marked with Red color panel)

I want to replace that image with my custom image. Can anyone please let me know how I can achieve this?

Best Regards,
Hrushikesh.
Pero
Telerik team
 answered on 28 Apr 2010
1 answer
169 views
I have a number (variable) of Editors on a page which each show dynamic content in preview mode. This is so that poorly formatted HTML within that content does not have adverse affects on the rest of the page (the Editor acts as a kind of quarantine for each piece of content).

I'd like each Editor panel to be as small as possible, but autosize up to a maximum height based on the size of its content. I don't believe Editor can calculate the size needed to display certain content, but can I, client side, do something like:

1.) Iterate through each Editor
2.) Set size to a nominal small value
3.) Check if the vertical scroll bar is showing and the Editor has not already reached it's maximum height allowed
4.) If true, increase the height of the Editor by 10px and repeat step 3

Is it possible to achieve this and / or are there more elegant solutions?

Regards
Dobromir
Telerik team
 answered on 28 Apr 2010
10 answers
313 views
Hi,
I am trying to use a Telerik Splitter control without a border around it. I tried to set the splitter border properties, use styles with no border but it did not help. If I view source from browser I see :
 class="pane firstItem" style="border-width:1px

Is there a way to get rid of this border-width:1px ?

The code that I am using is as below:
<telerik:RadSplitter id="radSplitterCommsPortal" runat="server" height="500" liveResize="true" width="100%" Skin="WebBlue" >
        <telerik:RadPane id="rdPnlPrint" runat="server" width="33%"></telerik:RadPane>
</telerik:RadSplitter>

Thank you,
Sarika
Dobromir
Telerik team
 answered on 28 Apr 2010
3 answers
156 views
Hi, I have a RadGrid with a GridDropDownColumn

<

 

telerik:RadGrid

 

 

    ID="referencesForCaseGrid"

 

 

    Skin="MainGrid"

     

EnableEmbeddedSkins="false"

 

     

ShowStatusBar="false"

 

     

runat="server"

 

     

AutoGenerateColumns="False"

 

 

    AllowSorting="True"

 

    AllowMultiRowSelection="False"

 

    GridLines="None"

 

    Style="border: 0; outline: none;
    
HeaderStyle-Height="25"

 

    AllowAutomaticInserts="false"

 

    AllowAutomaticDeletes="false"

 

    AllowAutomaticUpdates="false"

 

    EnableViewState="false">

 

 

 

 

<ItemStyle Wrap="true" VerticalAlign="Top" />
<AlternatingItemStyle Wrap="true" VerticalAlign="Top" />

 

<ClientSettings>

 

    <Selecting AllowRowSelect="false" />

 

    <Scrolling AllowScroll="false" />

 

</ClientSettings>

 


<
MasterTableView

 

    AllowPaging="true"

 

    PageSize="10"

 

    PagerStyle-AlwaysVisible="true"

 

    AllowMultiColumnSorting="True"

 

    EnableColumnsViewState="false"

 

    AllowCustomSorting="false"

 

    TableLayout="Fixed"

 

    EditMode="InPlace">

 

 

 

<Columns
    
<telerik:GridDropDownColumn

 

        UniqueName="RelationStatus"

 

        HeaderText="Relation Status"

 

        DataField="RelationStatusTypeID"

 

        ListDataMember="RelationStatusTypes"

        

ListTextField="Title"

 

 

        ListValueField="ID"

 

        SortExpression="Title"

 

        DropDownControlType="RadComboBox"

 

        HeaderStyle-Width="150px" />

 

    <telerik:GridEditCommandColumn />

 

</Columns>

 

</MasterTableView>

 

</telerik:RadGrid>

So when i press edit, I can choose a value in the dropdown, press update and the update command -event fires.

void

 

caseGrid_UpdateCommand(object source, GridCommandEventArgs e)

 

{

 

if(e.CommandName.Equals("Update") && e.Item is GridEditableItem)

 

{

 

 

var item = e.Item as GridDataItem;

 

 

int oldRelationTypeID = int.Parse(item.GetDataKeyValue("RelationStatusTypeID").ToString());

 

 

RadComboBox ddl = item["RelationStatus"].Controls[0] as RadComboBox;

 

 

int newRelationTypeID = int.Parse(ddl.SelectedValue);

 

 

GridEditableItem item2 = e.Item as GridEditableItem;

 

 

GridEditManager man = item2.EditManager;

 

 

RadComboBox operCombo = (man.GetColumnEditor("RelationStatus") as GridDropDownListColumnEditor).ComboBoxControl;

 

 

string operId = operCombo.SelectedValue;

 

 

// also returns preselected value

 

 

 

 

}

}

 

 

 

 

The problem here is that the value I get is the preselected one, not the one selected in the dropdown.

 

 

 

Rikard Hultén
Top achievements
Rank 1
 answered on 28 Apr 2010
1 answer
107 views
hi guys
i fill menu dynamical with createing RadMenuItem and add it to menu.
my RadMenuItem contain a Table that contain tow columns that 1st hold image and 2st hold text.
but i have a problem!.
my menu like this! item get wapped!
but i wanna menu width set auto.
http://www.myimgs.net/images/ehlv.jpg
tnx

Yana
Telerik team
 answered on 28 Apr 2010
6 answers
375 views
I have a RadGrid control with a NestedViewTemplate that contains two other RadGrid controls. I want to be able to perform drag and drop within each grid. The records will not be able to be dropped onto another grid, only within the same grid. Drag and drop in the parent grid works fine. When I try to perform drag and drop within one of the two grids in the NestedViewTemplate, I am unable to get a reference to the owning grid of the dragged items using e.DraggedItems[0].OwnerTableView or other various methods. They all return references to the main grid, the one that contains the two nested grids. How can I get a reference to the grid from which the dragged item came? Thanks.

Veli
Telerik team
 answered on 28 Apr 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?