Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
131 views
When using more than one RadSiteMap on the page the data source is overwritten.

  <telerik:RadSiteMap runat="server" ID="RadSiteMapCategoryPath" OnNodeDataBound="OnNodeDataBound_CategoryPath" MaxDataBindDepth="1">
  <LevelSettings>
    <telerik:SiteMapLevelSetting Level="0" Layout="Flow" SeparatorText="--">
      <ListLayout />
    </telerik:SiteMapLevelSetting>
  </LevelSettings>
</telerik:RadSiteMap>
<telerik:RadSiteMap runat="server" ID="RadSiteMapCategoryOwerview" OnNodeDataBound="OnNodeDataBound_CategoryOwerview" MaxDataBindDepth="1">
  <LevelSettings>
    <telerik:SiteMapLevelSetting Level="0">
      <ListLayout RepeatColumns="3" AlignRows="true" />
    </telerik:SiteMapLevelSetting>
  </LevelSettings>
</telerik:RadSiteMap>

Code:
      var cats1 = new List<Categories>();
      this.ModifyWorkflowControlReadOnly(a =>
      {
        cats1 = Categories.GetAll(a);
      });
  
      RadSiteMapCategoryOwerview.DataTextField = "Name";
      RadSiteMapCategoryOwerview.DataValueField = "ID";
      RadSiteMapCategoryOwerview.DataFieldID = "ID";
      RadSiteMapCategoryOwerview.DataFieldParentID = "ID_Category_Parent";
      RadSiteMapCategoryOwerview.DataSource = cats1;
  
      RadSiteMapCategoryOwerview.DataBind();
  
-------------------
  
      var cats2 = new List<Categories>();
      this.ModifyWorkflowControlReadOnly(a =>
      {
        cats2 = Categories.GetAll(a);
      });
  
      RadSiteMapCategoryPath.Dispose();
  
      // add start item
      Categories item = new Categories();
      item.Name = "Hautkategorien";
      cats2.Add(item);
  
      RadSiteMapCategoryPath.DataTextField = "Name";
      RadSiteMapCategoryPath.DataValueField = "ID";
      RadSiteMapCategoryPath.DataFieldID = "ID";
      RadSiteMapCategoryPath.DataFieldParentID = "ID_Category_Parent";
      RadSiteMapCategoryPath.DataSource = cats2;
  
      RadSiteMapCategoryPath.DataBind();

The site map RadSiteMapCategoryPath and RadSiteMapCategoryOwerview show the same result.
But the List cats1 and cats2 have different values.

How can I solve this problem?

Best regards
Daniela
Genady Sergeev
Telerik team
 answered on 20 Sep 2011
1 answer
99 views
How to get the added files using asynupload control, in javascript when submitting form?
Peter Filipov
Telerik team
 answered on 20 Sep 2011
2 answers
99 views
hi all,


I have created a radgrid .It has some columns.Also I have radcombobox with checkboxes ,it has names of the radgrid column names Depending on the selection in the radcombobox  i want to show the columns in the radgrid.Note that  I have created radcombobox outside the radgrid.Please help me out to solve this problem.
Thanks in advance..
Prasanna
Top achievements
Rank 1
 answered on 20 Sep 2011
0 answers
95 views
Hi,

Please note that We had move a website from window server 2003 - iis 6 to window server 2008 R2 (64 bit OS) - iis 7. Now, we get a popup with this error as mentioned below:

r.a.d.upload Ajax callback error. Source url was not found:

/Telerik.RadUploadProgressHandler.aspx?RadUrid=784e4743-7fcf-4064-afd8-7020d8f51a0f

Did you register the RadUploadProgressHandler in web.config?Please, see the help for more details: RadUpload 2.0 - Using r.a.d.upload - Configuration - RadUploadProgressHandler.

We have changed the web.config as mentioned in the link below, still the error message shows up

http://www.telerik.com/help/aspnet-ajax/upload-configuration.html

Please do let us know what else needs to be done.

Regards,

Debu

Debu
Top achievements
Rank 1
 asked on 20 Sep 2011
1 answer
461 views
Looking suggestions on the best way to mask all but the last 4 digits of the SSN in a column (xxx-xx-9999) but still allow the builtin filtering to work on the entire SSN column?

Haven't really seen any posts in reference to such a thing and I just really started looking at it.

Thanks!
Maria Ilieva
Telerik team
 answered on 20 Sep 2011
3 answers
708 views
Hello,

I have 2 asp textbox, 2 radtextbox and 4 asp RegularExpressionValidator   and one button in my page. If i have the radScriptmanager in this page validation will not work on button click and page will postback without validating it. If i remove the script manager from this page then validation will work on Button Click and page will not postback. Please give the solution for this problem
Simon
Telerik team
 answered on 20 Sep 2011
1 answer
492 views
           <Columns>     
               <telerik:GridTemplateColumn HeaderText="Support" UniqueName="SupportUsed">                     <ItemTemplate>                         <telerik:RadComboBox ID="ddlSupportUsed" runat="server" EmptyMessage="All Types"  OnClientSelectedIndexChanging="IndexChanged2"                          Width="200px" OnClientDropDownClosed="onDropDownClosing" >                         <ItemTemplate>                             <div onclick="StopPropagation(event)" >
                                <asp:CheckBox runat="server" ID="chk1" onclick="onCheckBoxClick(this)"/>                             </div>                         </ItemTemplate>                                              </telerik:RadComboBox>                     </ItemTemplate>                 </telerik:GridTemplateColumn>             </Columns>

















Here is how my grid layout looks like. I want to access grid rowindex of grid row when I click checkbox within dropdown in grid. How can I achieve this?

Thanks

Princy
Top achievements
Rank 2
 answered on 20 Sep 2011
4 answers
182 views
Is it possible to create a <RadStyleSheetManager> control programmatically just with a code behind in the cs class ? In other words, without declare something in the aspx page ? And if yes is it possible to put it in a content place of a master page if the page is linked to a master page ? tx and regards for your help.
Simon
Telerik team
 answered on 20 Sep 2011
3 answers
147 views
Any ideas why selecting the first item in a SqlDataSource-bound RadComboBox would not trigger the OnClientSelectedIndexChanging event, but the other items would?

<telerik:RadComboBox ID="rcbContractNumber" Height="150px" runat="server" Width="400px"  DataSourceID="sqlContracts" DataTextField="Name" DataValueField="ContractNumber" AllowCustomText="true" MarkFirstMatch="true"
              OnClientSelectedIndexChanging="LoadContractServices"  OnClientLoad="rcbContractNumber_Load"
          ></telerik:RadComboBox>

Dimitar Terziev
Telerik team
 answered on 20 Sep 2011
18 answers
854 views
I have a client that insists on having most of the toolbar items on the left hand side of a toolbar that stretches completely across the window, but wants two of the toolbar items (help and close) pegged to the right-hand side of the toolbar so that they are always in the same place for the users.

I can't figure out how to get this to work in the toolbar. I've even tried putting two toolbars in the same table cell, but that went poorly for me.

Can anyone provide suggestions for how to accomplish this?
Kate
Telerik team
 answered on 20 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?