Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
191 views
Hi,

I am using RadAjaxLoadingPanel for showing waiting image on my master page.

In firefox loading image animate & loads until next page loads but it doesnot work in IE.

Do I need to set different ajax setting for IE?

Thanks in advance.
acb
Top achievements
Rank 1
 answered on 10 Mar 2014
1 answer
220 views
hi,
i use this demo  for my issue ,
it works fine ,
but i want to use 2 datakeyNames :

<DataGroupTemplate>
   <asp:Panel runat="server" ID="Panel3" CssClass="dataGroup" GroupingText='<%# (Container as RadListViewDataGroupItem).DataGroupKey %>'>
      <asp:Image ID="CarImage" runat="server" AlternateText="Car Image" CssClass="car_brand_img" ImageUrl='<%# "Img/" + (Container as RadListViewDataGroupItem).DataGroupKey + ".png" %>' />
         <asp:PlaceHolder runat="server" ID="DataGroupPlaceHolder3">/asp:PlaceHolder>
<asp:Label runat="server" ID="Label39" CssClass="groupFooter clearfix" Text='<%# "Lower booking price: " + (Container as RadListViewDataGroupItem).AggregatesValues["Price"].ToString() %>'>
</asp:Label>
</asp:Panel>
</DataGroupTemplate>

my changes :
DataKeyNames="ID,NAME"

my question is :  how to use (Container as RadListViewDataGroupItem).DataGroupKey to specify each DataKeyNames ??
 
Eyup
Telerik team
 answered on 10 Mar 2014
3 answers
114 views
I have a radtextbox with width 200px and i am having another button on which i am showing a radwindow , when i clicking on button radwindow appears but the text in textbox hides ,but when i click on textbox it shows the data .I dont want this to happen.



Any solutions.Please Suggest.
Angel Petrov
Telerik team
 answered on 10 Mar 2014
2 answers
322 views
Hi,

The keyboard command (Ctrl+V) for 'paste' does not work in Internet Explorer 11.
And neither do any of the paste tools from the editor toolbar.

And the keyboard command Ctrl+X for 'cut' works correctly, but Ctrl+C for 'copy' does nothing. 
And the Cut/Copy tools in the toolbar don't work either. 

This is reproducable in the editor demo at http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx

What's wrong?

Best regards, Marja
Marja
Top achievements
Rank 1
 answered on 10 Mar 2014
3 answers
78 views
Hello

We are working on adding images to a RadLighbox.  The images are all related to a single service ticket, but each note has it's own images directory.  

We are adding the images by looking through the images located and adding them.

 foreach (FileInfo image in images)
 {
        lightBoxItem = new RadLightBoxItem();
        lightBoxItem.ImageUrl = String.Format("{0}/{1}", pixPath, image.Name);
        lightBoxItem.Title = image.Name;
        RadLightBox1.Items.Add(lightBoxItem);                       
 }

Now, in the databind of the notes grid, we have thumnails for each image.  We wrap a hyperlink around each thumnail and wire it up to the image in the lightbox to be opened by a js call  (i = the index of the image


 HyperLink hlnkImage = new HyperLink();
                                    hlnkImage.ID = "hlnkImage" + i.ToString();
                                    hlnkImage.SkinID = "hlnkImage";
                                    hlnkImage.ImageUrl = String.Format("{0}/Thumbnails/{1}", pixPath, image.Name);
                                    hlnkImage.ToolTip = image.Name;
                                    hlnkImage.Attributes.Add("onclick", String.Format("OpenRadLigthBox('{0}'); return false", i));

                                    divImageContainer.Controls.Add(hlnkImage);
                                    divInner.Controls.Add(divImageContainer);
                                    divOuter.Controls.Add(divInner);

This all works as expected EXCEPT.  If we click on the hyperlink that corresponds to the first image (index 0), the image opens in the lightbox, but when we try to page, it errors out and the lightbox is then frozen.  If we open any other image first, all works well, even the first image after paging to it.
Here is the js error

0x800a138f - JavaScript runtime error: Unable to get property '_get_hasTemplate' of undefined or null reference

Lastly here is the declarative ligthbox in the ascx page

<telerik:RadLightBox ID="RadLightBox1" runat="server" Modal="true" AppendDataBoundItems="true" RenderMode="Lightweight" LoopItems="true">
    <ClientSettings AllowKeyboardNavigation="true" NavigationMode="Button" ShowItemsCounter="false">
        <AnimationSettings HideAnimation="Resize" NextAnimation="Resize" PrevAnimation="Resize" ShowAnimation="Resize" />
    </ClientSettings>
</telerik:RadLightBox>
Daniel
Top achievements
Rank 1
 answered on 10 Mar 2014
1 answer
84 views
Hello,

I have noticed that in IE9 there is a cell rendering issue for some scenarios. I have attached an image with the mentioned.

Note :

1) Use OLAP connection with pivot grid.
2) create a selection which has only one row grouping and aggregation.
3) Row grouped field attribute must have long text.
4) vertical scrolls should appear in the specified scenario.
5) Scroll down in the grid to see the issue.

Regards,
Yohan
Vasil
Telerik team
 answered on 10 Mar 2014
2 answers
213 views
Hi,

I am trying to hide the header text of a column but I cannot do it. I am using the auto create of gridview columns:

     <Columns>
                <telerik:GridBoundColumn DataField="Description" HeaderText="Description" />
                <telerik:GridBoundColumn DataField="Quantity" HeaderText="Quantity"  />
                <telerik:GridBoundColumn DataField="UnitPrice" HeaderText="UnitPrice"  />
               </telerik:GridBoundColumn>

I would like to hide the label of Unit Price in insert mode. I managed to hide the column in insert mode using the following code:
               
    GridEditableItem totalItem = e.Item as GridEditableItem;
                    TextBox totalTextBox = vatItem["UnitPrice"].Controls[0] as TextBox;
                    totalTextBox.Visible = false;

How can I hide the label of UnitPrice? I tried the following:

grvDetails.MasterTableView.GetColumn("Discount").EditFormHeaderTextFormat = "";

without any success....Any suggestions?
leo
Top achievements
Rank 1
 answered on 10 Mar 2014
1 answer
134 views
ASP.NET SiteMapDataSource requires to have a root node to define the navigation structure. If bind to radTreeView as is (e.g. to render a side menu) it will render the root menu item and then all other items as children. See http://demos.telerik.com/aspnet-ajax/treeview/examples/programming/declarativedatasources/defaultcs.aspx

I wonder how to skip the root item and display everything from the level 1 to have multiple top-level nodes?
Shinu
Top achievements
Rank 2
 answered on 10 Mar 2014
1 answer
614 views
I am using telerik radgrid in my .net aspx page. I want to implement
custom pagination. But for this i don't have the total record count
initially. Want to get more data from server when user clicks on the
next page link after reaching the last page.

Example: if initially only 10 records are displayed on 1st page. If i
click "Next" link it should fetch next set of data.

But issue is: "Next" button do not fire OnCommand or OnItemCommand
events, if there are no more next pages.

So the question is how to handle pagination when total number of records
is not knows initially?
Which radgrid event to handle to get "Next" button click event
irrespective of whether grid is already displaying last page or not.
Konstantin Dikov
Telerik team
 answered on 10 Mar 2014
1 answer
139 views
I use Radgrid hierarchy with 3 level grid.
also I use "<ClientEvents OnCommand="OnClientCommand" />" for show modal window at AddNew Button Click :

function OnClientCommand(sender, eventArgs) {
   var cmdName = eventArgs.get_commandName();
   if (cmdName == "InitInsert") {
       eventArgs.set_cancel(true);
       ShowCreateForm();
   }
}

when I want to read details ItemIndex with "RadGrid_ItemCommand" return 0 !??!?!?
and when remove tag "<ClientEvents OnCommand="OnClientCommand" />"  then work fine! why ????
please help me, thanks.
Shinu
Top achievements
Rank 2
 answered on 10 Mar 2014
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?