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

I have a sqldatasource that select * from tableA which has about 1000 rows. I bind the datasource to the grid. I enabled paging with default page size and indeed it show the page number. But when i allow custom paging, i don't see any page number. What have i done wrong? Thanks
Radoslav
Telerik team
 answered on 21 Jan 2011
1 answer
335 views

Hi Currently I working on Telerik grid control to fit my requirements.

I am using proper

 

<

 

GroupByExpressions>
    <telerik:GridGroupByExpression>
        <SelectFields>
            <telerik:GridGroupByField FieldName="MonthName" HeaderText=" " />
            <telerik:GridGroupByField FieldName="Year" HeaderText=" " />
        </SelectFields>
        <GroupByFields>
            <telerik:GridGroupByField FieldName="MonthName" HeaderText=" " />
            <telerik:GridGroupByField FieldName="Year" HeaderText=" " />
        </GroupByFields>
    </telerik:GridGroupByExpression>

after implementation,  group headers are showing as e.g.  :December; : 2010

I want to format this text and remove ':' and ';' and replacewith some other special characters.

Please help me out.

 

Radoslav
Telerik team
 answered on 21 Jan 2011
2 answers
120 views
Hello

I have a grid that when i click on a item to edit it I try get the datakeyvalue from that item but it always just gets the first item on the list.

So i had a look in the grid.Items and found out that if i have data eg.
column1    column2
1             test1
2   test2
3   test3
4   test4

in my grid and i click on my edit button on the test3 row or whichever row then go look in the grid.items

It will change the item to the first item eg
In the grid.Items
Index    DataKeyValue
1           1
2           2
3           1(my row i click on)
4           4

Anyone ever had this any suggestions
 thanks
JedF
Top achievements
Rank 1
 answered on 21 Jan 2011
3 answers
145 views
I am using SSRS Report Viewer Control (VS2008) within a RADAJAXPanel. Parameters to the report are passed from controls within the same RADAJAXPanel. If a parameter value is changed, all text content within the report refreshes but not the charts when AJAX is enabled. The updated charts are visible if AJAX is disabled or after a manual IE page refresh.

This issue only occurs in IE7 and IE8. AJAX refresh in IE6 works fine.
Maria Ilieva
Telerik team
 answered on 21 Jan 2011
3 answers
53 views
http://www.telerik.com/help/aspnet-ajax/setting-additional-properties-to-the-node-in-the-web-service.html

According to the above link you can use a CustomRadTreeNodeDate class to send data to the client.  This all works great.  I'm looking for a way to post that information back to the webservice.  I can store the information in a node attribute, but I was wondering if there was a way to just "bind" it directly to the CustomRadTreeNodeData.  For example

public CustomRadTreeNodeData[] GetNodesWithToolTips(CustomRadTreeNodeData node, IDictionary context) {<br>}


When I POST information back to the webservice is there a way so I can access node.Tooltip?  I see ToolTip get sent to the client in the json response, but it never gets posted back??

POST:
{"node":{"Text":"node 1","Value":null,"ExpandMode":3,"NavigateUrl":null,"PostBack":true,"DisabledCssClass":null,"SelectedCssClass":null,"HoveredCssClass":null,"ImageUrl":null,"HoveredImageUrl":null,"DisabledImageUrl":null,"ExpandedImageUrl":null,"ContextMenuID":"","context":{}}
RESPONSE:
{"__type":"radtreeLoadOnDemand.CustomRadTreeNodeData","Text":"node 1","Value":"","ExpandMode":3,"NavigateUrl":"","PostBack":true,"DisabledCssClass":"","SelectedCssClass":"","HoveredCssClass":"","ImageUrl":"","HoveredImageUrl":null,"DisabledImageUrl":"","ExpandedImageUrl":"","ContextMenuID":null,"ToolTip":"My ToolTip","CssClass":"","ContentCssClass":null,"Enabled":true}
Nikolay Tsenkov
Telerik team
 answered on 21 Jan 2011
1 answer
55 views
Hello!

Today I took a "deep" look into the javascript methods, expandos, etc. of the radgrid control. There I found different methods, that are very interesting to me (in grouping and navigation with keys scenario ==> excel-like style), for example

var radGrid = $find(radGridId).get_masterTableView()._getNextDataRow()

I can see, that this methods needs a argument "a" (see attached png-File), but I don't know what type of argument and where I should get it then. Can anyone help me?

Generally: Is there a documentation of all these telerik-javascript-things, where this is all explained (I'm not an javascript expert)? Is there a pattern for the arguments, because as you can see in the picture, there are many methods, which need different arguments (b, f, etc.)?

Please help me.

Bye

Michael
Marin
Telerik team
 answered on 21 Jan 2011
3 answers
93 views
Hi,

Is there a way to invoke the image manager dialog without radeditor on a page?

I have been asked to create a gallery like application and using the image manager (more specifically the editor) would be a good place to start.

Ideally I only need the image editor and it would be even better if I could also lock down the size of the crop box as I have all the upload and thumnailing code in place.

The workflow they would like is.

Type in a title for the image (this is db stored)
Type in a description for the image (this is db stored)
Select image to upload
Ability to crop the image (this is where I would like Image Editor) Image sizes are specific so if possible I would like to lock down the size of the crop box.

I already have thumbnail and dropshadow code in place and db.

Thanks
Dobromir
Telerik team
 answered on 21 Jan 2011
3 answers
93 views
I want to do :
===========================================================================
I make a page , in this sample : Default.aspx 
===========================================================================
function getGData(){
        var that = this;
        //debugger;
         var url = "GetDateTimePicker.aspx";
            // The request size requires a post
         $.post(url, function (html) {
             debugger;
             $('#DateTimeContainer').html(html);
         });
        }
==========================================================================
When click GetDataHTMLButton (Default.aspx), I call getGData() to fetch HTLM return by GetDateTimePicker.aspx 
and fetch result to DateTimeContainer(Default.aspx)
Code for GetDateTimePicker.aspx 
===========================================================================
protected override void OnPreRenderComplete(EventArgs e)
        {
            base.OnPreRenderComplete(e);
            Context.Response.Cache.SetExpires(DateTime.Now.AddSeconds(-1));
            Context.Response.Cache.SetCacheability(HttpCacheability.Public);
            string returnString = ConvertControlToHtml(tekDateTimePicker);//GridTest this.gridResults
            Context.Response.Write(returnString);
            Context.Response.End();


        }
        protected override void OnPreRender(EventArgs e)
        {
            base.OnPreRender(e);
            if (!this.tekDateTimePicker.RegisterWithScriptManager)
            {
                ScriptManager scrip = this.Page.FindControl("ScriptManager") as ScriptManager;
            }


        }
        protected override void Render(HtmlTextWriter writer)
        {
            base.Render(writer);
        }
        public string ConvertControlToHtml(Control selectedControl)
        {
            StringBuilder sb = new StringBuilder();
            using (StringWriter sw = new StringWriter(sb))
            {
                using (HtmlTextWriter textWriter = new HtmlTextWriter(sw))
                {
                    try
                    {
                        selectedControl.RenderControl(textWriter);
                    }
                    catch (Exception e)
                    {
                        System.Console.Write(e);
                    }
                }
            }
             return sb.ToString();
        }
===========================================================================
But the result not include CSS and Script with event for the buttons.
Please download this file  MyTestSolution  (Sorry I can't attact my File)

I'm using "Telerik.Web.UI" vesion "2009.3.1103.35"

Thanks
ThangLuu - Bamboo





Luu
Top achievements
Rank 1
 answered on 21 Jan 2011
1 answer
106 views
how do i change the skin of radGrid through javascript..
Please help
Veli
Telerik team
 answered on 21 Jan 2011
1 answer
50 views
Hi,

On Linux OS and Chrome browser, Select files button is not appearing. When we click on the button place, it works fine. Please check attached screen shot.

Thanks & Regards
Sanjivani
Sanjivani
Top achievements
Rank 1
 answered on 21 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?