Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
92 views
Hello,
i have a RadGrid :(Html as below)
<setsRC:SRadGrid ID="gdvOrgUnitTypes" runat="server" AllowFilteringByColumn="false"
GridLines="None" AutoGenerateColumns="False" AllowSorting="True" OnNeedDataSource="gdvOrgUnitTypes_NeedDataSource"
OnItemDataBound="gdvOrgUnitTypes_ItemDataBound" Width="450">
<MasterTableView AllowMultiColumnSorting="True" DataKeyNames="OrganizationUnitTypeID" CommandItemDisplay="Bottom" Name="gdvOrgUnitTypes">
<CommandItemSettings ShowAddNewRecordButton="false" />
<Columns>
<setsRC:SGridBoundColumn DataField="OrganizationUnitTypeName" HeaderText="Org. Unit Types" meta:resourcekey="OuTypeName" HeaderStyle-HorizontalAlign="Left"/>
<setsRC:SGridTemplateColumn ItemStyle-Width="280" HeaderText="Organization Units" meta:resourcekey="AvailableOUs" HeaderStyle-HorizontalAlign="Left">
<ItemTemplate>
<setsRC:SRadComboBox runat="server" ID="rcbOUsByType" />
</ItemTemplate>
</setsRC:SGridTemplateColumn>
</MasterTableView>
</setsRC:SRadGrid>

There are no Insert, Update or delete operations on the grid.
In each row there is a text value in the GridBoundColumn and a combobox inthe template column
The user only action is to select from the comboboxes
The comboboxes are following a certain hierarchy that is done by code. ( Company-->Entity-->Branch-->Department--> .....)
First row in grid is for company and second for entity and third for branch (each row Text + combobox) ......................
Currently everything is displayed in the comboboxes, i want to have the option when choosing a value from entity combobox to filter the branch combobox and department combobox.
also note that the data is not fixed eg: Companies have different hierarchies for example company B has Company-->entity-->Branch-->Department-->Sub department ...

Any help ?

          
Antonio Stoilkov
Telerik team
 answered on 15 Mar 2012
0 answers
92 views
Hi,

           I have a RadPanelBar in my UserControl(Ascx) with four panel items. I have added  another usercontrols(ascx)  in the panel item. Each item has different  usercontrols. I have added usercontrols in the panel item dynamically that is when the user clicked in the panel item the UserControl for this panel will be loaded and the panel item will be expanded. I have placed the radpanelbar  in an asp Updatepanel. In the usercontrol, which is placed inside the panelitem has asp updatepanel with some controls such as button,combobox etc.

            My problem is that  if i do some action in the controls, which is present in the updatepanel of UserControl in the panelitem the  panelbar minimized the panelitem. I want to the panelitem  remain expanded. How can i do this?

Thanks,
Velkumar.
Velkumar
Top achievements
Rank 2
 asked on 15 Mar 2012
1 answer
95 views

 i am trying to set the radmaskedtextbox FocusedStyle-CssClass and DisabledStyle-CssClass by gisving Cssclass name but they are not  reflecting into UI means not setting.Example like

.change

 {

background-color:Green;

  }

.setback

{

background-color:Orange;

 }

for Focus style:

<telerik:radmaskedtextbox ID="radmaskedtextbox1" Text="123" FocusedStyle-CssClass="change"  Mask="Test" EnableEmbeddedSkins="false" runat="server">

</telerik:radmaskedtextbox>

For disable style:

<telerik:radmaskedtextbox ID="radmaskedtextbox1" Text="123" Enabled="false" FocusedStyle-CssClass="change" DisabledStyle-CssClass="disable" Mask="Test" EnableEmbeddedSkins="false" runat="server">

</telerik:radmaskedtextbox>

But thsose styles are not applying
Please share your comments reagrding this and provide some sample code for better understanding.
Any help will be great appreciated.

Thanks,
Dipta





 

 

Princy
Top achievements
Rank 2
 answered on 15 Mar 2012
3 answers
113 views
I am experiencing an issue with the RadGrid in compatibility mode set to IE 7 withing IE 9 after upgrading my project to version 2012.1.215.40. In a grid with NumericTextBoxes the textboxes seem to float outside the grid. In non-compatibility mode this does not occur. Taking one of the online demos I am able to reproduce when I set the client AllowScroll to true in the grid.

<ClientSettings Resizing-AllowColumnResize="false" EnableRowHoverStyle="false">
    <Scrolling AllowScroll="True" ScrollHeight="200px"
    UseStaticHeaders="True" />
</ClientSettings>

Again it happens in compatibility mode. I would move away from compatibility, but I have users that still have not upgraded yet. The demo code I used can be found at http://www.telerik.com/community/code-library/aspnet-ajax/general/refresh-footer-values-in-radgrid-client-side-using-radnumerictextbox.aspx. I had to upgrade it to the newest version. Thanks.
Shinu
Top achievements
Rank 2
 answered on 15 Mar 2012
1 answer
173 views
Hi,

i have a client select column and grid paging is on.when i click checkbox in the header it selects all the rows but when i move in the second page result couldnt be selected.and when i return page 1 all my selected row was removed.how can i fix this?

thanks. 
Shinu
Top achievements
Rank 2
 answered on 15 Mar 2012
2 answers
98 views
Hi guys

I saw the below two samples

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/detailtabledatabind/defaultcs.aspx
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/declarativerelations/defaultcs.aspx

In the detailed table can i have alternating color for each row

Can you guys help me

karthik.K
Karthik Kantharaj
Top achievements
Rank 1
 answered on 15 Mar 2012
1 answer
165 views

Suppose you have a treeview with CheckBoxes and CheckChildNodes set, and you are using LoadOnDemand.

The user clicks on a checkbox for a parent node whose children have not yet been loaded.

What happens?  Are the child nodes loaded?  If not loaded, is the altered checked state of the child nodes nevertheless transmitted to the server upon postback?

msigman
Top achievements
Rank 2
 answered on 14 Mar 2012
7 answers
209 views
Hello,

I have a Document Center Site Collection (home site) onto which I wanted to place this web part.  I tried several times to get it working, installing and uninstalling the web part a few different times.  Now, I think everything is installed correctly but when I add the web part to the page, I get the error below.  Is this because I installed and uninstalled the solution so many times?  I made sure the web part's feature was enabled on the site collection, and everything. Had to use Web Part Maintenance page to remove the part so that I could view the page again.

Thanks,
 - Matt

 

Server Error in '/' Application.

[A]System.Collections.Generic.Dictionary`2[System.String,Telerik.Web.UI.OurUpdatePanel] cannot be cast to [B]System.Collections.Generic.Dictionary`2[System.String,Telerik.Web.UI.OurUpdatePanel]. Type A originates from 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' in the context 'LoadNeither' at location 'C:\Windows\assembly\GAC_64\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'. Type B originates from 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' in the context 'LoadNeither' at location 'C:\Windows\assembly\GAC_64\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidCastException: [A]System.Collections.Generic.Dictionary`2[System.String,Telerik.Web.UI.OurUpdatePanel] cannot be cast to [B]System.Collections.Generic.Dictionary`2[System.String,Telerik.Web.UI.OurUpdatePanel]. Type A originates from 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' in the context 'LoadNeither' at location 'C:\Windows\assembly\GAC_64\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'. Type B originates from 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' in the context 'LoadNeither' at location 'C:\Windows\assembly\GAC_64\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidCastException: [A]System.Collections.Generic.Dictionary`2[System.String,Telerik.Web.UI.OurUpdatePanel] cannot be cast to [B]System.Collections.Generic.Dictionary`2[System.String,Telerik.Web.UI.OurUpdatePanel]. Type A originates from 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' in the context 'LoadNeither' at location 'C:\Windows\assembly\GAC_64\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'. Type B originates from 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' in the context 'LoadNeither' at location 'C:\Windows\assembly\GAC_64\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'.]
   Telerik.Web.UI.RadAjaxControl.CreateUpdatePanel(Control initiator, String eventName, Control updated, UpdatePanelRenderMode panelRenderMode, Unit panelHeight) +439
   Telerik.Web.UI.RadAjaxControl.OnPagePreRender(Object sender, EventArgs e) +1529
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnPreRender(EventArgs e) +11032190
   Microsoft.SharePoint.WebPartPages.WebPartPage.OnPreRender(EventArgs e) +50
   System.Web.UI.Control.PreRenderRecursiveInternal() +108
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394


Version Information: Microsoft .NET Framework Version:2.0.50727.4959; ASP.NET Version:2.0.50727.4955
Tesfaye
Top achievements
Rank 1
 answered on 14 Mar 2012
1 answer
66 views
We are trying to use the ToolbarProviderID functionality with multiple RadEditor controls.  The RadEditor controls are being instantiated at RunTime.  When the first RadEditor control is being created, we store the ID of that Editor to be used as the ToolbarProviderID for later Editors.

When we run, the Toolbar on the first RadPageView page where the first Editor is drawn renders as it should.  When I switch to a Tab that contains an additional Editor, we encounter a Javascript error.

My question:  how do we use the ToolbarProviderID when the ID of the control will not be visible because of the RadPageView hiding the control?
Rumen
Telerik team
 answered on 14 Mar 2012
1 answer
67 views
Hi,

When I open Hyperlink Manager for a link in RadEditor, enter some data in Email tab and click OK, its not saving that data. When I re-open the Hyperlink manager, the email tab data is cleared. Other two tabs are fine. Please let me know if I am missing something.

Thanks..
Rumen
Telerik team
 answered on 14 Mar 2012
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?