Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
140 views
I am having strange results with the combo box.  For some reason it is rebindig after I bind it.  
My first issue was u was trying to remove an item from the list if it was not selected.  Since it was doing this word reminding,  I had to remove it on the ondataload method. The next problem was that the selected value was not remaining. I set the value.  I step through the code and I see it being set.  Then when the page is displayed the value is no longer set.  How can I track these behind the scenes processes. 
John Giblin
Top achievements
Rank 1
 answered on 11 Jan 2013
1 answer
92 views
In my Chart I have around 16-20 Legends and they are taking very much space. I want to show only top 8 Legends and hide the rest. How can I do it? A code sample would be appreciated. Thanks.
Missing User
 answered on 11 Jan 2013
1 answer
238 views
I am trying to prevent a tab stop on an entire RadGrid control, but I have not been able to accomplish this.  I have tried setting the TabIndex property equal to -1 and also tried surrounding the grid with a panel with a TabIndex of -1.  Neither of these attempts were successful.
Can anyone provide any assistance with this issue?
MightyQuinn
Top achievements
Rank 1
 answered on 11 Jan 2013
1 answer
178 views
Hi there

I have a consistent but intermittent (maybe 50:50) problem with the image for a radCaptcha control not being displayed, showing instead only the grey box on the occasions that the rendering fails. I know about using the HttpHandlerUrl property to explicitly provide the location of Telerik.Web.UI.axd, and the fact that the image is loaded from the Cache by default, so I am wondering if this is some issue with a cache management conflict caused by some other javascript functions I am running on page load?

Could anybody point me in a good direction about how to troubleshoot this issue, as I have run out of ideas! Is there any client-side API for radCaptcha that might allow me to examine what is going on with the captcha control as the client side script runs? Failing that, is there a recommended location for setting the HttpHandlerUrl property back at the server-side processing? I have tried the init handlers for both the page and the control itself, but nothing makes any difference to the problem.

Thanks if you can advise

Slav
Telerik team
 answered on 11 Jan 2013
1 answer
42 views
I am facing an issue with RadTabStrip control. When i browse my page its height automatically increasing and background image also repeats.
I have also attach an image for better understand.

I check my page code there is not any additional css styles define.

Regards, Saif
Kate
Telerik team
 answered on 11 Jan 2013
3 answers
108 views
this is a radFilter (not on a grid) that i would like to save & or load settings and have the filter expand and show them.
i get a method error when trying to use the :
            Session["RadFilterExpressions"] = RadFilter1.SaveSettings();
            LoadSettings.Enabled =
true;
tells me there's no method for this. is this something that's reserved for the radGridFilters only? i've done this before on grid filters, but not the STAND ALONE RADFILTER.
and i've looked a literally every tutorial out there, so, if not doable - just lemme know and i'll walk away from this one.
thanks
rik

 

 

 

<telerik:RadFilter ID="WorkOrdersRadFilter" runat="server" Skin="WebBlue" ShowApplyButton="true"

 

 

 

 

 

 

 

OnApplyExpressions="WorkOrdersRadFilter_Apply" ApplyButtonText="Filter Work Orders"

 

 

 

 

 

 

 

OnPreRender="WorkOrdersRadFilter_PreRender" OnFieldEditorCreating="RadFilter_FieldEditorCreating" OnItemCommand="WorkOrdersRadFilter_ItemCommand">

 

 

 

 

 

 

 

 

<FieldEditors>

 

 

 

 

 

 

 

<telerik:RadFilterTextFieldEditor FieldName="WORKORDERNUMBER" DisplayName="Work Order#"

 

 

 

 

 

 

 

DataType="System.String" />

 

 

 

 

 

 

 

<goldcustom:RadFilterComboBoxEditor FieldName="WOTYPENAME" DisplayName="WO Type"

 

 

 

 

 

 

 

DataTextField="WOTYPENAME" DataSourceID="WorkOrderTypeFilterODS" DataType="System.String"

 

 

 

 

 

 

 

ComboBoxSkin="WebBlue" />

 

 

 

 

 

 

 

</FieldEditors>

 

 

 

 

 

 

 

 

 

</telerik:RadFilter>

 

 

 

 

                                  

                            
                    </telerik:RadFilter>

Kostadin
Telerik team
 answered on 11 Jan 2013
1 answer
219 views
Hi!!
Am calling the webmethod from the javascript and in the webmethod am trying to find the radgrid. But i can't able to find the rad grid,please any one tell me any solutions for this problem.


thanks in advance!!! 
Jayesh Goyani
Top achievements
Rank 2
 answered on 11 Jan 2013
1 answer
88 views
Hi,

Is it possible to drag & drop items from a radgrid into a RadDockZone and then turn them into RadDocks?

Cheers,
CJ
Slav
Telerik team
 answered on 11 Jan 2013
1 answer
84 views
I've created a Dynamic RadGrid on a Web User Control (ascx), and it displays correctly. However when I click on the Edit button the grid simply disappears. In order to determine what is going on I've tried to connect the OnItemCommand Event, but it does not fire? Listed below is a scaled version of the Dynamic Grid Creation, which is being executed by the PageInit Method.

My goal is to have the Edit Popup Modal show up when the User Clicks Edit, and be able to then catch the Update Click in order to manage the update back to the Data Source.

 

protected void BuildGrid(DataRow curRow)
{
    var curGrid = new RadGrid
          {
              ID = curRow.Field<string>("tst_desc"),
              Skin = "Hay",
              GridLines = GridLines.Both,
              AutoGenerateColumns = false,
              AllowAutomaticUpdates = true
          };
    curGrid.MasterTableView.Name = curRow.Field<string>("tst_desc");
    curGrid.MasterTableView.CommandItemDisplay = GridCommandItemDisplay.Bottom;
    curGrid.MasterTableView.TableLayout = GridTableLayout.Fixed;
    curGrid.MasterTableView.EditMode = GridEditMode.PopUp;
    curGrid.MasterTableView.EditFormSettings.EditFormType = GridEditFormType.AutoGenerated;
    curGrid.MasterTableView.CommandItemSettings.ShowRefreshButton = false;
    curGrid.MasterTableView.CommandItemSettings.AddNewRecordText = "Add More " + curRow.Field<string>("tst_desc") + " Test Results";
    curGrid.NeedDataSource += new GridNeedDataSourceEventHandler(Grid_OnNeedDataSource);
    curGrid.ItemCommand += new GridCommandEventHandler(Grid_OnItemCommand);
    curGrid.ClientSettings.AllowKeyboardNavigation = true;
    var btnCol = new GridButtonColumn
         {
             ButtonType = GridButtonColumnType.ImageButton,
             HeaderText = "Edit",
             CommandArgument = "btnEdit",
             UniqueName = "btnEdit",
             CommandName = "Edit"
         };
    curGrid.MasterTableView.Columns.Add(btnCol);
    var gbcUpdBy = new GridBoundColumn
       {
           UniqueName = "UPDT_BY",
           HeaderText = "Last Updated By",
           DataField = "updt_by",
           ReadOnly = true
       };
    curGrid.MasterTableView.Columns.Add(gbcUpdBy);
    var gbcUpdDt = new GridBoundColumn
       {
           UniqueName = "UPDT_DT",
           HeaderText = "Last Updated",
           DataField = "updt_dt",
           DataFormatString = "{0:MM/dd/yy}",
           ReadOnly = true
       };
    curGrid.MasterTableView.Columns.Add(gbcUpdDt);
    PlaceHolder1.Controls.Add(curGrid);
    Session[curRow.Field<string>("tst_desc") + "ID"] = curRow.Field<int>("lab_tst_id").ToString(CultureInfo.InvariantCulture);
    PlaceHolder1.Controls.Add(new LiteralControl("<br />"));
    PlaceHolder1.Controls.Add(new LiteralControl("<br />"));
}
 
void Grid_OnItemCommand(object sender, GridCommandEventArgs e)
{
    var a = 123;
}
 
void Grid_OnNeedDataSource(object sender, GridNeedDataSourceEventArgs e)
{
    var curGrid = sender as RadGrid;
    var gridName = curGrid.MasterTableView.Name;
    var hidTestId = Session[gridName + "ID"];
    curGrid.DataSource = ExecSQL.SQLData(_sqlStmt + " AND lt.lab_tst_id = " + hidTestId);
 
}
Andrey
Telerik team
 answered on 11 Jan 2013
1 answer
78 views
Hi,

I am currently working on RadChart, and we use StackColumns a lot.  It's been great for the most part, however, there are times when in our data, one of the values is very small relative to others.  This results in it's number label colliding with another one.  

Has anyone out there encountered this same problem and what was your approach?  My initial solution was to programmatically move tiny-value-items to another location, say the right of the data item.  But this still isn't good enough when you have several consecutive tiny values stacked up together.  They would all collide to the right this time.

Any thoughts/inputs?  Thanks in advance!

-Dino
Petar Kirov
Telerik team
 answered on 11 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?