Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
125 views
I'm creating a load on demand treeview and using multiskin mechanism .
and every node on the tree has a forecolor and i need to load it dynamic with the node expand but i can't every time with any post back the tree take the skin default color ,i tried to save the datasource to the viewstate and every time in post back i set the colors again but the load on demand don't work then,it seams that the viewstate been locked 

please advise  
Tamer Gamal
Top achievements
Rank 1
 answered on 07 Jun 2011
0 answers
74 views
Hello Sir,

I am using RadTreeList in my project. I assign a data it properly. But control not display child data.

I use same control another place but there it's work completely.

I attached screen shot for that.

Write Code as below.

------------------------------------------------------ Code --------------------------------------------------------
 <telerik:RadTreeList runat="server" ID="treeListTasks" AllowPaging="false" AutoGenerateColumns="false"
                    OnNeedDataSource="treeListTasks_NeedDataSource" Width="800px" DataKeyNames="ID"
                    ParentDataKeyNames="ParentTaskId" OnItemCommand="treeListTasks_ItemCommand" AllowNaturalSort="false"
                    AllowMultiItemSelection="false" AllowSorting="false" OnItemDataBound="treeListTasks_ItemDataBound">
                    <Columns>
                        <telerik:TreeListBoundColumn DataField="Name" UniqueName="Name" HeaderText="Name" />
                    </Columns>
</telerik:RadTreeList>
----------------------------------------------------------------------------------------------------------------------


Please give me proper solution.

Thanks.
Kishor Dalwadi
Top achievements
Rank 2
 asked on 07 Jun 2011
2 answers
131 views
Hi Everyone,

I needed help to solve the problem:
    My ISSUE is I had a Rad grid in which the columns are automatically generated
The grid code looks like this

<telerik:RadGrid ID="rgTSSearch" runat="server" Skin="Outlook" Width="97%" ShowStatusBar="True"
        AllowSorting="True" PageSize="10" GridLines="None" OnColumnCreated="rgTSSearch_ColumnCreated"
        OnItemCreated="rgTSSearch_ItemCreated" OnNeedDataSource="rgTSSearch_NeedDataSource"
        OnItemCommand="rgTSSearch_ItemCommand" OnUpdateCommand="rgTSSearch_UpdateCommand"
        OnCancelCommand="rgTSSearch_CancelCommand" OnInsertCommand="rgTSSearch_InsertCommand">
        <PagerStyle Mode="NextPrevAndNumeric" />
        <MasterTableView Width="100%" DataKeyNames="ID" CommandItemSettings-ShowAddNewRecordButton="false"  CommandItemDisplay="Top" HorizontalAlign="NotSet">
            <CommandItemTemplate>
                <asp:LinkButton ID="btnInitInsert" runat="server" CommandName="InitInsert"><img style="border:0px;vertical-align:middle;height:20px; width:20px;" alt="" src="../../App_Themes/add.png" />Add new TS</asp:LinkButton>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:LinkButton ID="btnRebind" runat="server" CommandName="RebindGrid"><img style="border:0px;vertical-align:middle; height:20px; width:20px;" alt="" src="../../App_Themes/refresh.png" />Refresh</asp:LinkButton>
            </CommandItemTemplate>
            <Columns>
                <telerik:GridEditCommandColumn ButtonType="ImageButton" HeaderStyle-Width="10%" UniqueName="EditColumn" />
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>

In the automatic generated columns there are two bit datatype columns which are generated as a checkbox column.

Now when I edit a particular row how to set the check box in the edit form[External form] based on the value in the grid
I mean If the check box column in the grid is checked then the checkbox column in the External form should be checked .

I tried in different ways but nothing worked out .


So please help me......


Thanks In advance,
Sravz


sravanthi
Top achievements
Rank 1
 answered on 07 Jun 2011
3 answers
123 views
hi

I have a grid that has maybe 10 fields, but i want to export only certain fields in the grid to PDF. How should i go about it? Thanks
Shinu
Top achievements
Rank 2
 answered on 07 Jun 2011
8 answers
279 views
Hi there,
i have textbox with search button to filter radgrid ,I get the filtered data without problem but when I click on next page in the grid
the grid postback , so the filtered data is missed ,so I get the whole data again
could you help me who can I solve this issue
thanks in advance
ghadeer
Russ
Top achievements
Rank 1
 answered on 07 Jun 2011
1 answer
75 views



Hi Guys,

is there any reason why datatable visible on attached screenshot is displayed like this (see attached)?

DataGroupColumn property is set to "Days" and DataLabelsColumn (PlotArea.XAxis.DataLabelsColumn) to "TaskName"... The data is correct but it is displayed under wrong labels.

I checked examples in the documentation and can't see any differences between my way of populating the chart and yours.

Cheers,
Kamil
Kamil
Top achievements
Rank 1
 answered on 07 Jun 2011
1 answer
65 views
Hi,

I would like to reduce the RadFilter filter menu items based on editor type. I have read some forum posts like:
http://www.telerik.com/community/forums/aspnet-ajax/filter/custom-list-of-filter-functions-for-custom-field-editor.aspx
to limit filter menu items based on datatype and field name but I would like to do same thing based on editor type especially RadFilterDropDownEditor. I would like to show only Equal, NotEqual options if the added editor is RadFilterDropDownEditor.

Thanks in advance.
Iana Tsolova
Telerik team
 answered on 07 Jun 2011
4 answers
212 views
Hi,
I am trying to add several custom buttons, but still have the problems with calling the editor.fire function. It works perfectly for some primitive functions like Bold, JustifyLeft etc. and it's well documented. But I spent a lot of time searching the proper syntax for setting the ForeColor property (the result was 

Telerik.Web.UI.Editor.CommandList[

"Blue"] = function(commandName, editor, args) { editor.fire("ForeColor", { value: "#2e2e6c" }); };

 

Now I am in the same position when trying to fire the FlashManager dialog. While Telerik.Web.UI.Editor.CommandList["InsertPicture"] = function(commandName, editor, args) { editor.fire("ImageManager"); }; works well, the similar Telerik.Web.UI.Editor.CommandList["InsertFlash"] = function(commandName, editor, args) { editor.fire("FlashManager"); }; shows the error message "Dialog parameters for the FlashDialog doesn't exist". Could you tell me the proper syntax?

And another question. Is it possible to hide the "EditModes" buttons at the bottom line (e.g. via css .rade_editorModesCell {display: none !important;}) and invoke the change of the EditMode by clicking my custom buttons (similar to calling javascript editor.fire function)?
Rumen
Telerik team
 answered on 07 Jun 2011
2 answers
119 views
I would like to have a GridButtonColumn that begins an Insert in the DetailsTable under the current row.  Is this possible?  Basically, I can do an insert in the DetailsTable by showing the command row, but that row doesn't fit well in my grid and I would like to have the Add button show up in the parent row instead.  I have a button and can catch the ItemCommand from the main grid, but can I initiate the Insert in the details table from there?

protected void g1_ItemCommand(object sender, GridCommandEventArgs e)
{
    if (e.CommandName == "AddPI")
    {
        // What goes here to init insert in detailstable[0]?
        //e.Item.OwnerTableView.DetailTables[0].???
    }
 
}
Sypher
Top achievements
Rank 1
 answered on 07 Jun 2011
5 answers
125 views
Hi
I've used RadInputManager to manage my input controls validating
Because I'm using User Controls , I need to set the ValidationGroups in code to a uniqe name that are based on the User Contro ID , to have the ability to use more than one of the same User Control in a page.
By a code like this :

           RadInputManager1.InputSettings[0].Validation.ValidationGroup = "xxcc"

I placed this line in Page_Load , Page_Init and even in InputSettingCreating event handler (by using the specila event argument)
But it seems that it's not working properly
Please help me , what's my problem ?
Thanks for your feedbacks.
Martin
Telerik team
 answered on 07 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?