Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
50 views
I have a panel and I would like the items in it to not have scroll bars when i expand them. There is plenty of room at the bottom of the page to expand these to fit the items without use of scrollbars. I have tried palying with the height and childheight settings for all the parts but nothing makes any changes at all.
Helen
Telerik team
 answered on 23 Mar 2011
3 answers
98 views
Hi Everyone,

OK I have a page with several lists of companies.  I want the first list to show gas service providers, the next electricity providers etc.  My objectdatasource can filter the type of company that it returns and I'd like to use the single objectdatasource for all combo boxes.  I thought OK I'll determine which combo is requesting the data in the Selecting event and supply the relevant CompanyTypeID as a param there.  Doh, I can't seem to work out which combo is requesting the list.

1) Is there something that I have missed re getting the calling object?
2) Short of having multiple different objectdatasources for each company type is there a work around?

This is inside a Formview to make it a little more complex.

Best Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 23 Mar 2011
1 answer
232 views

Ver 2010.3.1317.35, IE8, Windows 7 Skin, Windows 7 x64 OS

I'm using a simple border and background colour to highlight the focused fields in my application via the skin file:-

 

<telerik:RadTextBox runat="server" >
    <FocusedStyle BackColor="#EEF6FF" BorderColor="Red" /> 
</telerik:RadTextBox>

Unfortunately this option isn't implemented in all controls (which would be the ideal solution) so I have used the StyleBuilder to try and implement a simialr function for the RadComboBox....

Unfortunately No matter what I do I cannot seem to get the Focused RadComnoBox to be the same height as the normal one making the screen jump up and down as I move from Combo Boxes to Text boxes.

I've added a Border of 1 in red to the focused control which works fine but when I add a transparent border of 1 to the normal control it just seems to ignore it? It look correct in Style Builder but when I save and download it then reload from the zip it has removed the border? Any ideas?


Thanks

Kamen Bundev
Telerik team
 answered on 23 Mar 2011
1 answer
202 views
I have some windows opening in one of my apps.  Everything works fine an then they want the window to present as longer than the screen which I have done but now I can not get the windows to open without going off the top of the screen.  How can I set a KeepInScreenBounds in this case?  These particular windows are called from javascript as follows:

function ShowLoc3Form(id, rowIndex, title, thiscase, thisorder, code)
{
    var txtbox = $find("RadTextBox1");  
    txtbox.set_value("");  
     
    var grid = $find("<%= RadGrid1.ClientID %>");
      
    var rowControl = grid.get_masterTableView().get_dataItems()[rowIndex].get_element(); 
    grid.get_masterTableView().selectItem(rowControl, true);
    var manager1 = GetRadWindow().get_windowManager();
    manager1.open("addlocation3.aspx?d=" + id + "&c=" + thiscase + "&o=" + thisorder + "&r=" + code + "&m=n", "RadWindow10");
    var window1 = manager1.getWindowByName("RadWindow10");
    window1.setSize(880,1000);  
    window1.set_modal(true);
    window1.set_title(title);
    window1.set_visibleStatusbar(false);
    return false
}

If I set the Radwindowmanager to keepinscreenbounds it seems to make no difference in this case.  When I open other windows server side this property seems to work fine.  Probably a simple question but I can't seem to get it to work.

Thanks,
JC
Marin Bratanov
Telerik team
 answered on 23 Mar 2011
1 answer
57 views
hi,
i have a cell that has both text and an image in it. when the mouse scrolls over the text, i'm having it underline to present the user with a choice perform and action.  in IE the underline is only showing under the Text and not the image as i would exspect. However in firefox the underline is showing under everything which i do not want.

anyone have a suggestion on how to make sure the underline is not showing under the icon/image?

Veli
Telerik team
 answered on 23 Mar 2011
1 answer
98 views
Hi .

I want to know is that possible to use this Chart control in a MVC project?

Regards
Mazdak
Yavor
Telerik team
 answered on 23 Mar 2011
1 answer
119 views
Is it possible to call the diff engine from JavaScript.  I have looked across the forums and every example uses a postback.

Any example of how to do this would be great.

Thanks
Dobromir
Telerik team
 answered on 23 Mar 2011
0 answers
124 views
Hi,

      I am using Rad Async upload with Rad Progress bar in my application. It is working fine.
But While clicking cancel button in Rad Async upload,it showing the progress bar for another 5 mins and then disappears.
1. How can we avoid the progress bar in Rad Async upload cancel event.
2. How can we capture the cancel event in Rad Async upload?

I am using default cancel and remove button in Rad Async upload.

Thanks
Prabha
prabha
Top achievements
Rank 1
 asked on 23 Mar 2011
8 answers
1.2K+ views


Ok, I have sorted out what the problem really is and I'm ready to post now (sorry to those who read my false start earlier)

On this form I have a 2 RadDatePickers, a couple of Dropdowns and a text box.

The Dropdowns let the users select some pre selected date options to which the date pickers set themselves. Stuff like 'This Month' or The Year'. etc.

The DatePickers have SelectDateChanged Events wired up. So if the user selects This Year from a dropdown,(1/1/2011 - 31/12/2011) but then changes the first date picker to 5/1/2011, the SelectedDateChanged event resets the dropdown to some default value (it's no longer a 'This Year' view)..

The textbox on the other hand lets you enter a number of days. This number is used to set the End Date to that many days after the selected Start Date and uses Jquery to perform the update. The jQuery also prevents the user entering in non numeric characters.

So the user enters say the number 3, and the End Date is modified. However, It is this update that is firing the SelectedDateChanged event!

I don't want to the Date Picker to fire this event when the textboxes jQuery executes, I want it to only fire when the user selects a date from the date picker.

Is this possible?
 
Brad
Top achievements
Rank 1
 answered on 23 Mar 2011
0 answers
75 views
I attached a screenshot of a RadWindow as a popup that is displaying some pretty weird styling.

If we take out all style sheets, the result is the same.

There are a lot of RadControls on the page, master page and stuff. It's big, so I can't really post it.

Everything else is fine though.

How can we get the window to display properly?

Richard

Edit: Hi, disregard and delete this post pls. Answer is obvious if I look: Don't forget to send a 1 line title...
Richard Weeks
Top achievements
Rank 2
 asked on 23 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?