Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
160 views
I have a grid that has a row click event on it.  This event works and I see the breakpoint hit in the serverside code.

With the row value I pull, I can hit a database and get the result I am looking for and assign it to an asp:label control.  

The problem is, I never see that value on the screen in the label.  I have verified the label.text property has the value I want, however I can't get it to show on the screen.

Is there a command I need to fire to refresh the page after the grid is done with the serverside control?

I can provide code snippets if needed.

Thanks in advance.
Jeff
Top achievements
Rank 1
 answered on 12 Aug 2013
5 answers
117 views
I have a treeview which consists of webpages.  I create a RadSocialShare control programmatically so that a Facebook and Twitter link appear next to each page, and I add it to Treeview upon load using

The node for each is created dynamically and added to the tree using

node.Controls.Add()

The problem occurs in the sub nodes, because those are loaded on demand, and it appears that when they are loaded, the javascript behind the social share is not loaded.  So when the link for the social share is click, no action occurs, and no errors are generated.

Boyan Dimitrov
Telerik team
 answered on 12 Aug 2013
1 answer
206 views
I am getting following error when I move the site to IIS 7.5. Working fine on my local machine

Unable to set property 'scriptsFailed' of undefined or null reference. Any help?
Hristo Valyavicharski
Telerik team
 answered on 12 Aug 2013
2 answers
264 views
I have a RadHTML chart that has series added programmaticly in code-behind (C# ASP.NET)  to the chart when a user clicks button on the webpage. If the end-user initiates a postback event (by changing the selected-index on a drop-down list element for example), the series data is lost. The legend still appears with the correct series, as does the XAxis labels, but the actual series data disappears, no lines appear on the chart. I've already checked to see if I have a hanging Series.Clear() and ViewState is set to True.
Michael
Top achievements
Rank 1
 answered on 12 Aug 2013
4 answers
172 views
I am developing Telerik Reporting and Inside a RadGrid I have checkboxes next to the dispalyed columns. What I want is, when the report load for the first time, the first 5 checkboxes should be checked automatically. User can uncheck or select up to 8 items and on preview button click see only the items checked.
All the radgrid columns am being  populated  with AutoGenerateColumns="True" from stored procedure. 
I have added this code and can see the checkboxes. How do I default the first 5 items as checked

<MasterTableView AllowMultiColumnSorting="true" NoMasterRecordsText="There are no data records to display."> 
                                            <Columns>
                                              <telerik:GridTemplateColumn HeaderText=""> 
                                                <ItemTemplate> 
                                                    <asp:CheckBox ID="CheckBoxStatus" runat="server" AutoPostBack="true"  /> 
                                                </ItemTemplate> 



Ebenezer
Top achievements
Rank 1
 answered on 12 Aug 2013
2 answers
482 views
We have a RadGrid control that is built dynamically through code in the Page's init phase.

One of the columns is a GridDateTimeColumn and the data source column is of type System.DateTime.

The problem we are having is that in the edit row (In Place editing), the datetime picker control doesn't render. It appears as a standard textbox control with no image to click to select a date.

The skin we are using is the included 'Telerik' skin, so custom skins should not be an issue. I've also tried removing the skin altogether, but that doesn't seem to work either.

The version of the rad controls we are using is 2013.2.611.40.

Anybody have any suggestions?

Thanks,

Charlie
Charles
Top achievements
Rank 1
 answered on 12 Aug 2013
1 answer
149 views
Hello

I am using an old version of RadGrid (2008 q3) but i hope you will still be able to help me.

The grid contains a CommandItemTemplate which is exported to excel. How do i get a handle on the CommandItemTemplate before the grid is exported to apply formatting to it? Is there a way to format it using the grid's css file? However I would rather know a way for apply formatting directly in the code behind as my skin styles are not being applied to the grid on export anyhow

thanks in advance for your help
Kostadin
Telerik team
 answered on 12 Aug 2013
8 answers
194 views
Hi Telerik Team,

kind of difficult to describe, but i hope you can give me a hint...

i have a hierarchical grid, which is always in editmode.
Many dynamically generated textboxes in this grid are validated by the RadInputManager.

On a button of the page, we open a radwindow.
If the grid is opened to a deep level, we get an error when we try to open the radwindow.

TargetControls ....
protected void RadGridHierarchy_ItemCreated(object sender, GridItemEventArgs e)
        {
...
                TextBox tbVolumeTarget = ((TextBox)item["VolumeTarget"].Controls[0]);
                NumericSetting.TargetControls.Add(new TargetInput(tbVolumeTarget.UniqueID, true));
...

RadWindow:
ButtonClick ...
 
RadAjaxManager.GetCurrent(Page).ResponseScripts.Add(@"OpenProfitabilitySimulation();");           
 
JavaScript:
 
  function OpenProfitabilitySimulation() {
                var a = setTimeout('doOpenProfitabilitySimulation()', 500);
            }
 
            //Open RadWindow for profitability simulation
            function doOpenProfitabilitySimulation() {
                var oWnd = $find("<%=RadWindow_Create_Contract_ProfitabilitySimulation.ClientID %>");
                oWnd.show();
            }


With a small grid it works fine.
But when the grid gets bigger, it seems, that there is not enough time to dispose everything, before opening the window.

Following line throws the error in runtime. (NullException) 

"eval.code":
$find('ContentPlaceHolderDefault_ContentPlaceHolderMain_ctl00_CreateContractWorkflow_3_ucCreateContract_ucContractHierarchy_RadInputManager1_NumericBehavior').dispose();


Possible soulutons, which are not a good option:
- it is possible to raise the Timeout, before opening the Radwindow, (but to what? The time is depends on the client. And the Grid size)
- make a complete postback and afterwards open the radwindow, That also works fine. (but clicking two buttons is not a solution)

Do you have any other ideas?
How can i wait with the window opening, until the controls have been correctly disposed?

Is it a problem of the RadInputManager?

Thanks in advance

KR

Lars
Bob
Top achievements
Rank 1
 answered on 12 Aug 2013
2 answers
101 views
I have a rad grid which allows filtering by column. Everything works fine except that in one column I have several records with values that start with "*". When I search by * I get all rows back an not the rows starting with *. If I enable linq expressions then searching by * works but then case insensitive searching no longer works.
I think RadGrid is using * as a shortcut indicator to do a "starts with" search. How can I get the filter to search for *?

Thanks,
Chris
Chris
Top achievements
Rank 1
 answered on 12 Aug 2013
1 answer
72 views
Hi,

i just upgraded to telerik 2013.1.417.40 and i have noticed the default font of the controls has changed. Is there any way to get the default fonts back or to override the new default fonts.

Thanks,
Vineet
Shinu
Top achievements
Rank 2
 answered on 12 Aug 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?