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

 The configuration section 'telerik.web.ui' cannot be read because it is missing a section declaration" in Web.config

Vessy
Telerik team
 answered on 01 Mar 2022
0 answers
146 views

hi sir,

 

      I need to get the set the value for master page control like this

   Dim radcmbx As RadComboBox = CType(Page.Master.FindControl("Database_List"), RadComboBox)

But how we get the value in javascript.

Please give me a solution ASAP

 

M Kumar
Top achievements
Rank 1
Iron
Iron
Veteran
 asked on 01 Mar 2022
0 answers
69 views

Hello

Please Help me. ㅠㅠ

I'm still in trouble because I haven't been able to solve this problem.

It is automatically displayed like a StatusBar of RadGridin the RadListBox?
If possible, please teach me how.

 

 

 

 

 

 

anna
Top achievements
Rank 1
Bronze
Iron
 updated question on 01 Mar 2022
1 answer
262 views

Hi,

     I have a combobox. Under most circumstances I want it set to the dropdown mode (checkbox=false). In a certain cases I would like the combobox to have its checkbox property set to true. This being the case switching between the dropdown mode and the checkbox mode would have to be done in the code behind (or perhaps javascript which is not one of my talents). I tried this code

 stringcurrControl = fld.ControlName;

RadComboBoxcmb = (RadComboBox)FindControl(currControl);

cmb.Enabled = true;

if(rule == 3 && fld.Field.Replace("\r\n","") == "PROBLEM_TYPE")

{

 cmb.CheckBoxes==true;

}

The last line: cmb.CheckBoxes==true; throws an error during compilation:

"only assignment call increment decrement and new object can be used as a statement"

Is it that the combobox can be set to checkbox=true in the declaration of the combobox. How can this be done? Any help would be appreciated.

Thanks,

Neil 

Doncho
Telerik team
 answered on 28 Feb 2022
2 answers
499 views
Hi, i'm having troubles using RadDatePicker; i tried to build a layout like bootstrap without success.

I would transform RDP like

<div class="input-group date">
  <input type="text" class="form-control"><span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
</div>

so how can i do it?
I obtained only a little success setting

CssClass="form-control" for DateInput part.

Thank you.
Attila Antal
Telerik team
 answered on 25 Feb 2022
23 answers
1.1K+ views
Hi,

I'm facing grid header alignment problem only when I'm manking "UseStaticHeaders = true" for Grid ClientSetting.Scrolling, I'm using the Office2007 skin.

I'm creating grid columns dynamicaaly through code seeting it's width as given below;

                    GridBoundColumn bfield = new GridBoundColumn();
                    bfield.DataField = "Col1";
                    bfield.HeaderText = "Col1";
                    bfield.HeaderStyle.Width = 70;
                    bfield.HtmlEncode = false;

                    grdEngagements.MasterTableView.Columns.Add(bfield);
I'm giving the coloum width only for other coloumns than the first coloumn (not given any coloumn width for first coloumn) and I'm not doing anything in MasterTableView.TableView in code or design.

Below is the attached pic where I'm getting coloumn reallignment issue, I have found the same issue mensioned in some telerik blogs but none of those solutions fixed my issue,

Please help me to resolve it as sooon as possible, Thanks in advance,

Anoop

Carlos
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 24 Feb 2022
0 answers
147 views

Hi,

I'm trying to set the filter from code behind. When the code below runs to get the GridFilteringItem, I'm getting an  "Index was out of bounds" exception. Any ideas what's causing this? 

 

  protected void RadGrid1_PreRender(object sender, EventArgs e)
        {
            try
            {
                GridFilteringItem filterItem = RadGrid1.MasterTableView.GetItems(GridItemType.FilteringItem)[0] as GridFilteringItem;

                GridColumn col = RadGrid1.MasterTableView.GetColumn("AssignedTo");
                col.CurrentFilterValue = hfProgAssign.Value;

                filterItem.FireCommandEvent("Filter", new Pair("StartsWith", "AssignedTo"));

 

 

JC

james
Top achievements
Rank 1
 updated question on 22 Feb 2022
1 answer
185 views

Hi, I am using a grid filter - Show/hide button in the <CommandItemTemplate> of RadGrid. I am using this for the filter to show on or off. But this radbutton has a different color than the Grid Header. I want to change its background to whatever color that the Grid has ( I may use different skin). Below is the code. Any way we can set the BackColor property of the button at Clientside itself? 

<MasterTableView CommandItemDisplay="Top" CommandItemStyle-HorizontalAlign="Right" AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
                                                <CommandItemTemplate>
                                                    <telerik:RadButton ID="btnFilter" runat="server" ButtonType="SkinnedButton" Font-Size="X-Small" OnClick="btnFilter_Click" Width="30px" Height="20px" Text="filter"></telerik:RadButton>
                                                </CommandItemTemplate>
                                                <Columns>
Doncho
Telerik team
 answered on 22 Feb 2022
3 answers
382 views

I have a web page with a RadGrid in Batch Edit mode.  The number and width of the columns makes the grid wider than the browser window, so it scrolls horizontally.  I followed this example to allow me to TAB from cell to cell in the table and to scroll the grid horizontally as the cursor moves from column to column.  When I get to the last cell in a row, pressing TAB moves me to the next row, but it moves me to the first visible column on the row rather than scrolling the page all the way back to the left edge and moving me to the first column.

Is there a way to reset the horizontal scrolling when I TAB from the last cell so it goes back to the left most column?

Attila Antal
Telerik team
 answered on 22 Feb 2022
2 answers
660 views

Hello, I have a RadPdfViewer in one of my pages but no matter the way I try to load a PDF, it stays hanging in the loading stage indefinitely.

It stays that way even if I try to load a Pdf by simply clicking open.

What can I do to fix this ?

Vessy
Telerik team
 answered on 21 Feb 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?