Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
39 views

in web form =>


<telerik:RadMenu ID="RadMenu1" runat="server" DataSourceID="RadSiteMapDataSource1"  >  </telerik:RadMenu>
<telerik:RadSiteMapDataSource ID="RadSiteMapDataSource1" runat="server" ShowStartingNode="false"  />



in web.sitemap =>

<?xml version="1.0" encoding="utf-8" ?>
  <siteMapNode title="Home" url="Default.aspx">
    <siteMapNode title="Base info" url="">
      <siteMapNode title="provinces" url="~/AppUsers/addProvince.aspx"/>
      <siteMapNode title="Cities" url="~/AppUsers/addCity.aspx" />
      <siteMapNode title="Sender" url="~/AppUsers/addFactory.aspx" />
      <siteMapNode title="NVP" url="~/AppUsers/addRepresentation.aspx"/>
    </siteMapNode>

when i used this code , menu show url property (in sitemap) , but i wana to show title only and hide url.
 see the picture attachment file
please help me .

Boyan Dimitrov
Telerik team
 answered on 19 Feb 2014
45 answers
1.2K+ views
I had sorting, paging, and filtering all working together with a Object Data Source in the ASP.Net version.  I can get the paging and sorting to work in the new ASP.NET AJAX version, but I am having a problem with paging when using a filter.  Apparently, the maximumRows parameter of the data source is returning 2147483647 instead of 10 which is the value defined in the Page Size property.  The maximumRows parameter works fine while paging and sorting, so I don't understand why it doesn't seem to work while paging and filtering.

Al
Vasil
Telerik team
 answered on 19 Feb 2014
12 answers
799 views
I've inserted RadCaptcha control on login.aspx page.I've radscriptmanager on the same page.
when I run this page,in Firebug i found "src" property of image sets to -

src="../Telerik.Web.UI.WebResource.axd?type=rca&guid=bff339e1-b3e3-4af8-aaca-0ca8cf274883"

& if I hover mouse on this property it says "failed to load given URL."

but on other page I tried the same thing and found that src sets to
src="Telerik.Web.UI.WebResource.axd?type=rca&guid=bff339e1-b3e3-4af8-aaca-0ca8cf274883"

Difference is only "../"


Can you please tell me how to solve this problem?
In Firebug,If I manually remove syntax "../" from src property then only Image loads.

Please reply ASAP.


Thanks
Slav
Telerik team
 answered on 19 Feb 2014
2 answers
37 views
I want to create followign scinerio

On my page i hv on grid on click i open one popup it contains grid if user select one record then from that selected row only need to pick up 2 column value and bind that value into parent page grid values
Eyup
Telerik team
 answered on 19 Feb 2014
1 answer
29 views
This issue http://www.telerik.com/forums/issue-with-changing-the-background-of-active-filter#8qeqk4W15k-RS15ZY2UuRA does not work if I apply more than one filter in cascade (only one column is affected)
Could you help me?
Thanks
Eyup
Telerik team
 answered on 19 Feb 2014
3 answers
108 views
Hi,

I want to disabled ajax only for one button into my toolbar because i need to download a file and i have some problems with if the ajax is enabled.

function onAjaxRequestStartHandler(sender, args) {
      if (args.get_eventTarget().indexOf("RadToolBarReport") >= 0)
          if (myButtonExport is clicked) {
              args.set_enableAjax(false);
              }
       }

I look to replace IF (myButtonExport is clicked) by a javascript code to know what is the button clicked...

Someone can help me ?

ty
Kate
Telerik team
 answered on 19 Feb 2014
1 answer
104 views
RadGrid displays Button like plan text. 
 <Columns>
 <telerik:GridBoundColumn HeaderText="On Calendar" DataField="IsOnCalendar" UniqueName="IsOnCalendar" CurrentFilterFunction="EqualTo" AutoPostBackOnFilter="true" />
                            <telerik:GridBoundColumn HeaderText="Status" DataField="Status" UniqueName="Status" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" Visible="false" FilterControlWidth="80px" />
 <telerik:GridTemplateColumn UniqueName="UpdateColumn" AllowFiltering="False">
   <ItemTemplate>
   <asp:Button ID="btnInactiveButton" ToolTip="Mark Inactive" runat="server" Text="Inactive" CommandName="Update" CommandArgument="0"            SkinID="defaultbutton" OnClientClick="return confirm('Are you sure you want to deactivate this?');" CausesValidation="false" />
<asp:Button ID="btnActivatebutton" ToolTip ="Mark Active" runat="server" Text="Activate" CommandName="Update" CommandArgument="1" SkinID="defaultbutton"
                                        OnClientClick="return confirm('Are you sure you want to activate this?');" CausesValidation="false" />
     </ItemTemplate>
 </telerik:GridTemplateColumn>
</Columns>

Buttons btnActivatebutton and btnInactiveButton show up like normal text. User will not know that they are buttons until they hover over them. I need fix for this.  Thnaks.



Shinu
Top achievements
Rank 2
 answered on 19 Feb 2014
10 answers
182 views
I have a Rad gridview that databinds and popluates date according to a seacrh. There is a linkbutton that i want to be able to change on column from saying false to true or vice-versa. Please help.


   void btn1_Click(object sender, EventArgs e)
   {
          var btnChange = (LinkButton)sender;
          var change = from s in db.Users
                                 where s.AccountID == ?? 
                                 select s;
   }

I need to be able to get the correct row in which I clicked the button to change its particluar column value





Grant
Top achievements
Rank 1
 answered on 19 Feb 2014
3 answers
187 views
Hi,
I am using custom filtering and setting the filter expression programmatically. I am using a custom skin and in there I have the following to for rgFilterActive with the assumption that this will be applied to filters that are active.
.RadGrid_Resonance .rgFilterActive,  
.RadGrid_Resonance .rgFilterActive:hover  
{  
    background-color#ffffB0;  

 

 

Firstly, with this it doesn't apply the style for the filters that are active, so to workaround in the item created event, I did the following: 

 

 

foreach (GridColumn column in grid.Columns)  
                {  
                    if (((GridTemplateColumn)column).AllowFiltering == true)  
                    {  
                        if (column.CurrentFilterFunction != GridKnownFunction.NoFilter)  
                        {  
                               (filteringItem[column.UniqueName].Controls[1] as Button).CssClass = "rgFilter rgFilterActive";  
                        }  
                        else 
                        {  
                            if (filteringItem[column.UniqueName].Controls.Count > 1)  
                            {  
                                (filteringItem[column.UniqueName].Controls[1] as Button).CssClass = "rgFilter";  
                            }  
                        }  
                    }  
                } 

 

With this everything works as expected, but when we click on the filter image and click outside, it loses the active styling.

Kindly note although this is a small issue, but needs to be resolved. Please let me know should I follow any other way to implement this, or is this an issue grid styling itself.

Thanks,
Tilak

 

 

 

 

Galin
Telerik team
 answered on 19 Feb 2014
2 answers
63 views
Hi,

In my web application, I have a PanelBar for which I'm using the WebBlue skin.

When text wrapping is needed for an item, only the first line is hignlighted when hovering the mouse over it and when clicked/selected.

Is there a solution for that?

Best regards, Marja
Princy
Top achievements
Rank 2
 answered on 19 Feb 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?