Telerik Forums
UI for ASP.NET AJAX Forum
15 answers
705 views
Hi I am having some issue when using the option for showing / hiding column via the context menu in the header of a grid.

My grid is made so it fits on the width of the screens we used. We have a column hidden by default. When i decide to show the hidden column, the grid does not resize and instead it is the columns which are resized. I would like instead that the columns stay at the width I already set in my page with the property "HeaderStyle-Width" and that a scrollbar appears at the bottom of my grid. 

Is it possible to do that ?

Thanks

Guillaume
Anoop
Top achievements
Rank 1
 answered on 18 Nov 2015
5 answers
256 views
Is it possible to disable the dragging handles on an appointment entry? I'm not trying to disable editing completely (the context menu needs to remain enabled), just prevent a user from dragging the entry to extend the time.
Bozhidar
Telerik team
 answered on 18 Nov 2015
1 answer
103 views

I am still exploring the Spreadsheet control and I can see where it would be a useful tool.  I am able to get cell values using JavaScript but I don't see a way to change the values.  Also, I would like to see a cell onChange event that would allow me to format the font color if the value changes.

We are using similar functionality using your grid control on a screen.  The spreadsheet control might be better suited for this screen if I can add this functionality.  Is this available?  If so, can you provide example code?  If not, are you planning to add these to the Spreadsheet control?

Bozhidar
Telerik team
 answered on 18 Nov 2015
1 answer
231 views
Hello.

I have a multiselect combobox with checkeboxes. Let assume that variable "options" has value "Building 1, Building 2". My combobox has items "Building 1", "Building 2", "Building 3". I want to by using JS select and check those two values. This code check Building 1 and Building 2, but only Building 2 is really selected.


function setValuesInCombobox(options) {
    var controler =$find(getClientIdById(cboBuildingControlName));   
    controler.set_value(options);
    controler.set_text(options);
    var allChoicesFromCbo = controler.get_items()._array; 
    var selectedOptions =  options.split(",");
 
    for(i = 0; i < selectedOptions.length; i++) {
      var building = selectedOptions[i].trim();
      for(j = 0; j < allChoicesFromCbo.length; j++) {       
        var nameOfBuildingInCbo = allChoicesFromCbo[j]._properties._data.value;
        if( nameOfBuildingInCbo == building) {
          allChoicesFromCbo[j]._setChecked(true);
          allChoicesFromCbo[j].select();
        }
      }
    }
Magdalena
Telerik team
 answered on 18 Nov 2015
1 answer
63 views

There is an issue resizing the appointments of RadScheduler, 
when you drag the edge of the appointment, more I'm closer to right side, more be a mismatch between the cursor position and location of the appointment

I recorded a video to show the problem

https://youtu.be/bsuXTtpieDU

Plamen
Telerik team
 answered on 18 Nov 2015
4 answers
866 views
Hi, 

Is there  any way to Hide /show rad grid like detail table.

Thanks
Eva
Lee
Top achievements
Rank 1
 answered on 17 Nov 2015
1 answer
110 views

I am receiving the following error when trying to run the form with the Telerik Diagram. Version is 2015.1.401.45 . I'm using IE11. And .net Framework = 4.5

 

0x800a138f - JavaScript runtime error: Unable to get property 'getConnector' of undefined or null reference

 

The line directly above this error is on 

var bp=X.getShapeById(bq);
return bp.getConnector(Y.connector||d);

 

Please let me know if more information is required. Thanks!​​

Vessy
Telerik team
 answered on 17 Nov 2015
1 answer
141 views

 Hi Telerik Team,

We are using Telerik AJAX UI control version "2015.3.930.45" in our project. We are using Telerik Image editor in our application and we are facing issue with the eps files to display in Telerik Image editor.

We have tried to display the eps file in Telerik Image editor but eps file was NOT visible in Telerik Image editor. We have tried to open this eps file in a freeware EPS File Viewer (http://epsfileviewer.com/) , in which the said file get displayed properly..

Here is the sample code which we are using in our project:
 <telerik:RadImageEditor ID="TelerikRadImageEditor" runat="server" ImageUrl="https://<servername>/<folderName>/<fileName>.<extension>" >
</telerik:RadImageEditor>

 

Please help us out to resolve this problem.

Vessy
Telerik team
 answered on 17 Nov 2015
16 answers
760 views
I have a page structure like this:

-- Master Page
    -- Page
        -- User Control
            -- RadGrid

In the user control the component structure is like this:

-- <div>
    -- <ajax:ModalPopupExtender>
        -- <asp:Panel>
            -- <telerik:RadGrid>

In my user control's Page_Load method, I have something like:

protected void Page_Load(object sender, EventArgs e)
{
    LinkButton myLinButton = myMasterTemplate.MyButton; 
    myLinkButton.Click += myLinkButton_Click; 
    
    if (Page.IsPostBack) 
        myGrid.NeedDataSource += myGrid_NeedDataSource 
    
    ...(more code)
}

What happens is when I click on the link button the modal window will show up which contains the grid. It works fine except the user control's Page_Load event fires twice. If I comment out the line "myGrid.NeedDataSource += myGrid_NeedDataSource " then it's fine but of course I can't do that. This leads me to believe, internally, NeedDataSource is causing another postback. Is this correct? If so, is there any way to prevent this from happening?

Thanks.

Eyup
Telerik team
 answered on 17 Nov 2015
1 answer
72 views

Overlapping labels and x-axis title.

I added margin to some value also.

For example below code.

<TitleAppearance Text="Lost To Vendor">
                <TextStyle Margin="150px"  />
            </TitleAppearance>​

Please see the attached file.

urgent......

 

Thanks,

Sreekanth.

Vessy
Telerik team
 answered on 17 Nov 2015
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?