Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
34 views
Somthing gone wrong but now i posted
Swapnil
Top achievements
Rank 1
 asked on 26 Sep 2012
1 answer
166 views
Hi,

is it possible to completely hide particular NestedViewTemplate according to specific DataItem.Property? ..or to disable expanding functionality of the item at all?

Thanks,
Petr
Shinu
Top achievements
Rank 2
 answered on 26 Sep 2012
5 answers
170 views
Hi,

I want to do ClientSide Inset/Update/Delete with RadGrid in an MVC application.
Something Like inline editing in RadGrid. The data should remain at client side unless and until the user click teh submit button and send the data to server..
Is this possible, can anyone help me with this..

Thanks,
Huzefa
Maria Ilieva
Telerik team
 answered on 26 Sep 2012
1 answer
62 views

I have a RadGrid entirely created via code during runtime.

When I use this setting below, the pager works just fine:

myGrid.MasterTableView.PagerStyle.Mode = GridPagerMode.NextPrevAndNumeric;

However, when I change it into this:

myGrid.MasterTableView.PagerStyle.Mode = GridPagerMode.NextPrevNumericAndAdvanced;

...I get the following javascript exception on every grid action (paging, sorting), and the actual postback is never executed:

   SCRIPT438: Object doesn't support property or method '$' 
  Ajax.js, line 574 character 8 

(http://aspnet-scripts.telerikstatic.com/ajaxz/2012.2.912/Ajax/Ajax.js)

That line reads:

if($telerik.$(a).css("opacity")>0||$telerik.$(a.getElementsByClassName("raDiv")[0]).css("opacity")>0){
    g=false;
}

Could you think of a reason how this error could possibly related to the advanced pager?

Andrey
Telerik team
 answered on 26 Sep 2012
1 answer
284 views

I have a website running Sitefinity that I recently upgraded from 5.1 SP1 to 5.1 SP2 (RadControls v2012.2.607.40). Prior to the upgrade RadTextBox styling was working properly in that I could define a css class rule that included a width property and use it for the RadTextBox's CssClass property and everthing worked as expected.  Since the 5.1 SP2 upgrade none of my width properties are applied and the RTB seems to be defaulting to 160px width.

Here's what my markup and css look like:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ZRTBTest.aspx.cs" Inherits="SitefinityWebApp.ZRTBTest" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
    <style>
        .rtbWrp
        {
            font-family: Tahoma,Verdana,sans-serif;
            font-size: 12px;
            width: 600px;
            background-color: #c0c0c0;
            padding: 5px;
        }
         
        .rtb550, .rtb450, .rtb350
        {
            padding: 3px !important;
            vertical-align: middle !important;
            margin-bottom: 15px !important;
            border: 1px solid #ff0000 !important;
        }
         
        .rtb550
        {
            width: 550px !important;
        }
         
        .rtb450
        {
            width: 450px !important;
        }
         
        .rtb350
        {
            width: 350px !important;
        }
    </style>
</head>
<body>
 
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager> <div>
        <div class="rtbWrp">
            <telerik:RadTextBox ID="RadTextBox1" runat="server" CssClass="rtb550">
            </telerik:RadTextBox></div>
        <div class="rtbWrp">
            <telerik:RadTextBox ID="RadTextBox2" runat="server" CssClass="rtb450">
            </telerik:RadTextBox>
        </div>
        <div class="rtbWrp">
            <telerik:RadTextBox ID="RadTextBox3" runat="server" CssClass="rtb350">
            </telerik:RadTextBox>
        </div>
    </div>
    </form>
</body>
</html>

Everything looks fine in Firefox (15.0.1), Chrome (21.0.1180.89) and IE 8 (see rtb_firefox_chrome_ie8standards.PNG).  In IE9 Standards mode the width of the text boxes is clipped at 160px (see rtb_ie9_standardsmode.PNG).  I could swear this was working in the last version.

Anyone else seeing this?

Thanks -- Steve

Galin
Telerik team
 answered on 26 Sep 2012
3 answers
109 views
Can you please give me an ASP.NET 4.0 VB.NET example of uploading to /images/post/ directory and renaming the image to a session value - with a 1, 2, 3, 4 etc saved after each file name?  The 1, 2, 3, 4 is just used to signify different images or else the images would just overwrite each other.

I will only be upload .jpg images!

Thanks!
Princy
Top achievements
Rank 2
 answered on 26 Sep 2012
3 answers
153 views
how to do crud with rad grid using in  built grid properties
AllowAutomaticDeletes="true" AllowAutomaticInserts="true" AllowAutomaticInserts="true"
Shinu
Top achievements
Rank 2
 answered on 26 Sep 2012
6 answers
94 views
How can i do filtering with rad grid?
Thanks.
Princy
Top achievements
Rank 2
 answered on 26 Sep 2012
1 answer
168 views
When enable AllowFilter for GridCheckBoxColumn, it will show a CheckBox and a RadFilter control. How can I remove the RadFilter and trigger the filter by checking or unchecking the CheckBox directly?
Shinu
Top achievements
Rank 2
 answered on 26 Sep 2012
5 answers
278 views
Hi All,

My customer wants context menus to be available on a mobile device.  I'm not a terribly big fan of the idea, in that I would prefer to build a more mobile-like interface.  However, he is not yet ready to do that for this site.

My question is, what is the best practice for using menus on a mobile device?  Right clicking does not appear to be a good solution, in that a right click is really unavailable with a mobile interface (iPhone, iPad, Android).  Also, a left click has the disadvantage in that if you are using it on a grid, you will confuse the menu with the selection of the row for other purposes.  Double click, maybe?  Hover?

Any opinions?

Jim
AMS
Top achievements
Rank 1
 answered on 26 Sep 2012
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?