Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
178 views
I found related posts on this, but I didn't find anything specific to what I'm looking for. I like to move the Y-Axis item labels to the right of the Y-Axis. Is that possible? Thanks for any pointers on this.
George
Top achievements
Rank 1
 answered on 27 Sep 2011
1 answer
207 views
Hi to  All,
               This is siddiqali Working on Sharepoint 2010 Using Visual webpart.I am using Rad Controls .,I need to upload image in Sharepoint 2010 Picture Library using Visual Web-part .Can any one tell me how it is possible.

Thanks,
MOHAMMAD SIDDIQALI.




Kalina
Telerik team
 answered on 27 Sep 2011
2 answers
110 views

How can I get the row object based upon the checking of a check box?
I'm using

<ItemTemplate>

<asp:CheckBox id="CheckBox1" OnCheckedChanged="ToggleRowSelection" AutoPostBack="True" runat="server"></asp:CheckBox>

</ItemTemplate>
And I have

Protected Sub ToggleRowSelection(ByVal sender As Object, ByVal e As EventArgs)
CType(CType(sender, CheckBox).NamingContainer, GridItem).Selected = CType(sender, CheckBox).Checked
End Sub
I've seen
http://www.telerik.com/community/forums/aspnet-ajax/grid/add-selected-items-to-an-arraylist.aspx
and I've added

OnItemCommand to the RadGrid but it does not seem to fire. What I need to end up with is something like:

Dim dataItem As GridDataItem = CType(e.Item, GridDataItem)

Dim PMID As String = DataItem.OwnerTableView.DataKeyValues(dataItem.ItemIndex)("PMID").ToString 
Is there a way to put this in the ToggleRowSelection event?

 

 

 


William
Top achievements
Rank 1
 answered on 27 Sep 2011
1 answer
137 views
Im using _SetValue to avoid triggering events but when using _SetValue I lose all currency and decimal place formatting.  Is there another function I can call to essentially refresh the formatting?
Justin
Top achievements
Rank 1
 answered on 27 Sep 2011
1 answer
106 views
Hi Telerik Team,

       We have a usercontrol (ucList1) with asp:panel. This panel is return by aproperty. In main page this usercontrol is inside an xmlhttppanel.Radajax Manger is also here and in codebehind like below

RadAjaxManager.AjaxSettings.AddAjaxSetting(radgrid1, ucList1.PNL, RadAjaxLoadingPanel1);


       The main page is a child page of a master page. In main page radgrid is on left side and usercontrol is on right side.On first time loading filtering is working properly.But while trying to filter after on grid row click got an error like

Error: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ctl00_ContentPlaceHolder1_ctl00_ContentPlaceHolder1_ucEmailTemplateDetail1_pnlHasRecordPanel'. If it is being updated dynamically then it must be inside another UpdatePanel.

waiting for the reply
Dayana M.T

Pero
Telerik team
 answered on 27 Sep 2011
3 answers
87 views

Hi telerik,

 

  I use two Related ComboBoxes ,but when I set the combobox can input for search,the combobox will just  load one item,and when I click anywhere then click combobox, it will load all items...
  I use your livedemo "ComboBox / Related ComboBoxes " , I change the RadComboBox2 can input and search is also have this bug.

Your code:

<telerik:RadComboBox ID="RadComboBox2"
                runat="server" 
                EnableViewState="false"
                Width="186px" 
                CssClass="ComboBox_Countries" 
                OnClientSelectedIndexChanging="LoadCities" 
                OnClientItemsRequested="ItemsLoaded"
                OnItemsRequested="RadComboBox2_ItemsRequested" />

I changed to ( I add EmptyMessage EmptyMessage):
<telerik:RadComboBox ID="RadComboBox2"
    runat="server" 
    EnableViewState="false"
    Width="186px" 
    CssClass="ComboBox_Countries" 
    OnClientSelectedIndexChanging="LoadCities" 
    OnClientItemsRequested="ItemsLoaded"
    EmptyMessage="Search for address..." 
    EmptyMessage="Contains"
    OnItemsRequested="RadComboBox2_ItemsRequested" />

Please help.
Ivana
Telerik team
 answered on 27 Sep 2011
3 answers
451 views
After upgrading to ver.2011.2.712.40 we've started receiving the error below:

Message : Item has already been added. Key in dictionary: 'Telerik.Web.SkinsAssembly'  Key being added: 'Telerik.Web.SkinsAssembly'

Source : mscorlib

Help link :

ParamName :

Data : System.Collections.ListDictionaryInternal

TargetSite : Void Insert(System.Object, System.Object, Boolean)

Stack Trace :    at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)

   at System.Collections.Hashtable.Add(Object key, Object value)

   at System.Collections.Specialized.NameObjectCollectionBase.BaseAdd(String name, Object value)

   at System.Collections.Specialized.NameObjectCollectionBase.BaseSet(String name, Object value)

   at System.Collections.Specialized.NameValueCollection.Set(String name, String value)

   at Telerik.Web.SkinRegistrar.GetDefaultSkinsAssemblyName()

   at Telerik.Web.SkinRegistrar.GetAllEmbeddedSkinAttributes(RadSkinManager skinManager, Type controlType)

   at Telerik.Web.UI.Common.BaseClass.GetShortControlName(Control control)

   at Telerik.Web.UI.Common.BaseClass.GetValueFromConfig(String keyFormat, Control control)

   at Telerik.Web.UI.Common.BaseClass.GetGlobalEnableEmbeddedBaseStylesheet(Control control)

   at Telerik.Web.UI.RadDataBoundControl.get_EnableEmbeddedBaseStylesheet()

   at Telerik.Web.UI.RadDataBoundControl.Telerik.Web.ISkinnableControl.get_EnableEmbeddedBaseStylesheet()

   at Telerik.Web.SkinRegistrar.GetEmbeddedSkinAttributes(ISkinnableControl control, Type controlType)

   at Telerik.Web.SkinRegistrar.RegisterCssReferences(ISkinnableControl _control)

   at Telerik.Web.UI.RadDataBoundControl.RegisterCssReferences()

   at Telerik.Web.UI.RadDataBoundControl.ControlPreRender()

   at Telerik.Web.UI.RadDataBoundControl.OnPreRender(EventArgs e)

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


We have 7 servers in a web farm and it occurs randomly on 1-2 servers but every day usually right after a daily IIS pool recycle. No skin setiing in the web.config. Some telerik controls use a default skin (no skin value set), some of them use our custom skin (set in the control property).

Please advise.
Lini
Telerik team
 answered on 27 Sep 2011
3 answers
153 views
Hi,
I'm looking for some further information and/or some example code on using a RibbonBarToggleList.

1) Is there a property in the RibbonBarToggleList that indicates which (if any) button in the list is selected? Or do I have to loop through all of the buttons in the collection to either set or get the selected button?

2) Is there a server-side event that gets fired when a button in a RibbonBarToggleList gets clicked?

Any help appreciated,
Ian
Ian
Top achievements
Rank 1
 answered on 27 Sep 2011
0 answers
107 views
Hi, How can I persist grid selection using client-side API.
I've tried http://www.telerik.com/help/aspnet-ajax/grid-persist-selected-rows-client-sorting-paging-grouping-filtering.html but doesnt work for me, I think is because im using radbutton in templates columns like this. Im doing server-side binding. But when I change page, and back im loosing selection

<Columns>
<Telerik:GridTemplateColumn UniqueName="Assigned" HeaderText="Assigned">
<ItemTemplate>
<Telerik:RadButton ID="rbAssigned" runat="server" ToggleType="CheckBox" ButtonType="ToggleButton"
AutoPostBack="false" Skin="Forest" EnableEmbeddedSkins="true" EnableEmbeddedBaseStylesheet="true"
OnClientLoad="ButtonLoad">
<ToggleStates>
<Telerik:RadButtonToggleState PrimaryIconCssClass="rbToggleCheckboxChecked" Selected="true" />
<Telerik:RadButtonToggleState PrimaryIconCssClass="rbToggleCheckbox" />
</ToggleStates>
</Telerik:RadButton>
</ItemTemplate>
<ItemStyle Width="50px" />
</Telerik:GridTemplateColumn>
Martin
Top achievements
Rank 1
 asked on 27 Sep 2011
2 answers
119 views
I have an array bound to RadGrid.
I can use the <%#Eval method to get the values in the root of the array in the aspx file. However, there is one particular value which is inside an array where I do not know how to get it.

eg of the array structure
customername   Michael
    customerdetails
         specialremarks   xxxxxxxx
  
How can I get the value for specialremarks ?

I tried the itemdatabound but to no avail.

Any help is much appreciated

Thank you
vincent
Top achievements
Rank 1
 answered on 27 Sep 2011
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?