Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
120 views
Hello,

I have created usercontrol with radcombobox for multiple use, I have given windosxp skin to radcombobox.
Now I have used this usercontrol in radgrid in EDITFORM Template at top tr to select employee.


my problem is that when I open editform in popup, Skin of radcombo get disappear
I have found in firebug that it renders two css at time "Radcimbobox Radcimbobox_WindosXp"  

so please suggest me any solution .

Thanks
Amit
Galin
Telerik team
 answered on 08 Apr 2013
1 answer
94 views
Currently I'm displaying the filters for each column. The users want to show/hide the filters. What's the easiest way to allow the user to show/hide these column filters?
Kostadin
Telerik team
 answered on 08 Apr 2013
6 answers
109 views
Hi

I have a RADCombo Box updating another RADCombo on selected changed event. This is done with the RadAjaxManager.

It works for the first selection, but I'm not able to make any selection in the first Radcombo box following the first one.

I have both combo boxes in a RadPanelBar Panel item content template.

Any ideas?

In addition the expand behaviour of the RadPanelBar is also broken following the AJAX roundtrip.

Andy
Kate
Telerik team
 answered on 08 Apr 2013
4 answers
119 views
Hi all,

Long time lurker first time poster.

I'm developing a report using the RadGrid control (full version) and one of the requirements is that it must be possible to filter the rows. Previously before using the RadGrid I'd obviously just filter the data source then re-render the html table but.... you know RadGrids are pretty and support so much functionality out of the box I thought what the hell?

Anyway - obviously I'm posting because its not gone too swell.

Initially I got the Expression Expected error... all fine and good, tons of threads with the answer set EnableLinqExpressions="False". Did that and sure enough the error disappeared.... however no filtering appeared? As in after the postback was finished no filtering had been applied. I was kind of under the impression from the Basic Filtering Tutorial that it should be a pretty much out of the box "hey presto no need to manually make all the filters" deal? Starting to think that's not the case.

Anyway - details: -

I'm using the OnNeedDataSource event, the code currently looks -roughly- like: -

protected void MyGrid_OnNeedData(object sender, GridNeedDataSourceEventArgs e)
    {
 
        ...General getting data stuff...
 
        MyGrid.DataSource = MyData;
    }

With MyData being a List<MyObject>.

Now there WAS something about using the OnNeedDataSource event in the basic filtering tutorial. I didn't think it was 100% clear though to be honest as it talked about "checking" the FilterExpression in the OnNeedDataSource event - is this actually implying that if you use this method of data binding you do have to manually do all the filtering? As you might have guessed I'm rather hoping thats NOT the case heh.

Anyway - appreciate any input. Thanks!
Craig
Top achievements
Rank 1
 answered on 08 Apr 2013
1 answer
417 views
I've been trying to debug this error that's been popping up in the event viewer and I can't figure out what's causing it. There are some oddities happening on the site, but I'm not sure (and somewhat doubt) this is the reason, but I'm just going through the process of elimination now.

Anyway, this is what I get: An error occurred processing a web or script resource request. The requested resource 'pTelerik.Web.UI.Skins|Telerik.Web.UI.Skins.Common.Metro.contextMenu.gif' does not exist or there was a problem loading it. 

Can anyone point me in the right direction and help me troubleshoot this? The version of RadControls that I'm using is 2013.1.220.45.

Thank you,
Andrew
Ivan Zhekov
Telerik team
 answered on 08 Apr 2013
1 answer
168 views
Hi,

I would like to know how to center the text inside the radpanel. i have added an image but as a result the text is off center.

i have attached an image of my problem,
Princy
Top achievements
Rank 2
 answered on 08 Apr 2013
0 answers
139 views
Hello to all

How to enable false radwindow contentemplate by using javascript or jquery.

this RadWindow1.Enabled = True
by client side
Jack
Top achievements
Rank 1
 asked on 08 Apr 2013
4 answers
1.3K+ views
I have a RadTimePicker that I would like to use 24 hour format on. I have the format in 24 hours, but when I click 13:00 it puts 1:00 p.m. in the box. How can I get it to put the 24 hour format in the box?

<telerik:RadTimePicker ID="ddlTravelStart"
    runat="server"
    TimeView-TimeFormat="HH:mm" >
</telerik:RadTimePicker>
K10
Top achievements
Rank 1
 answered on 08 Apr 2013
1 answer
102 views
As the below which is RadGrid method in client how to get user control in client, but recently I use treelist, i can not use same method for it. Please tell me how to find the checkbox element in javascript! thankss!!!

var grid = $find("<%= grdDetail.ClientID %>");
              var masterTable = grid.get_masterTableView();
              var rows = masterTable.get_dataItems();
                var i;
                for (i = 0; i < rows.length; i++) {
                    var rowResult = rows[i];
                        var textBoa= rowResult.findControl("textBoa");
                        var textBoc= rowResult.findControl("textBoc");
                        var Checkbox= rowResult.findElement("Checkbox");
                     }
Angel Petrov
Telerik team
 answered on 08 Apr 2013
2 answers
193 views
Hi Telerik Team,

When i add RadHtmlChart, I am faced the error
Unknown server tag 'telerik:RadHtmlChart'

then by following this link
http://www.telerik.com/community/forums/aspnet-ajax/htmlchart/unknown-server-tag-telerik-radhtmlchart.aspx
i updated the controls to newer version. then the RadHtmlChart works fine.

But now the problem is,
after updation, the itemCommand in the RadGrid are showing error.
here is my code.
protected void rgFiles_ItemCommand(object source, GridCommandEventArgs e)
   {
       int index = int.Parse(e.Item.ItemIndex.ToString());
       GridDataItem item = (GridDataItem)FileTable.MasterTableView.Items[index];
       item.Selected = true;
 
       row_id = int.Parse(item["id"].Text);
 
       string File_name = item["Name"].Text;
       Label2.Text = File_name;
       LiteralControl litCon = new LiteralControl();
       litCon.Text = "<iframe name='attachIFrame' id='runtimeIFrame'  frameborder='solid' word-wrap='normal' scrolling='auto' height='100%' width='400px'  src='RiskManagementStrategyFiles/" + File_name + "' style='left:0; background-color: beige;'></iframe>";
       Panel1.Controls.Add(litCon);
   }
visible property for id is "false" in .aspx page

Error
Exception Details: System.FormatException: Input string was not in a correct format.
Source Error:
Line 219:        item.Selected = true;
Line 221:        row_id = int.Parse(item["id"].Text);
Line 223:        string File_name = item["Name"].Text;

this error is solved, if we give visible property = "true" in .aspx page
SortExpression="id" UniqueName="id" Visible="true" HeaderStyle-CssClass="hide" ItemStyle-CssClass="hide">
------------------------
//CSS
.hide { display:none; }


but if i do like this, I have many RADgrids in my project. I need to change in all the grids.

(Again if i repalce the dll in Bin folder with the old dll, then the grid works fine but RadHtmlChart showing the same error)
Please help me....

Please give solution for this


Thanks in advance
--Alex

Alex
Top achievements
Rank 1
 answered on 08 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?