Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
210 views
Hi,

I used the search and found some posts dealing with this. Some some posts it sounded as it would be enough to alter CSS. In one post Telerik posted new CSS and image. The css did not match the css I have. Maybe it was an older version.

So is the only way to reduce the height to get Telerik to supply a new image and css? Or is there some way to alter the existing image myself? Tutorial?

PS! I'm not talking about the height of the expanded combobox or the input box alone. I'm talking about the "normal" appearance when no selection is made.

EDIT: Apparently "we" (the customer) have bought the component. I thought we only used the trial for now, so I have asked someone here with access to the premium "powers" to open a ticket regarding this issue.
Lindsey Kelly
Top achievements
Rank 1
 answered on 24 Sep 2009
3 answers
116 views
Hello,

I customized the header row of the radgrid, and I cannot figure out how to access it.  How do I get access to the header row in code-behind?

Thanks.
Shinu
Top achievements
Rank 2
 answered on 24 Sep 2009
1 answer
56 views
I have a three appointment for a single day , and i want to create the seperate context menu for each this three appointment , will it be possible?

How can i create the Seperate context menu for individual appointment..?

Regards
Samir
Peter
Telerik team
 answered on 24 Sep 2009
2 answers
178 views
I want to be able to validate all of the controls in all of the tabs in one button click event. I have all of the controls broken out into separate validation groups by their tab. The tricky part is that i want to know what tab has the invalid controls.

I tried creating an array of my validation groups in the same order as the tabs and then looping through it like so:

for (int i = 0; i < ValidationGroups.Count - 1; i++)
            {
                Page.Validate(ValidationGroups[i]);

                if (!Page.IsValid)
                    RadTabStrip1.Tabs[i].ImageUrl = iconPath;

            }

The problem is that Page.IsValid will always return false as soon as ANY validation group is false. So if I have invalid controls on the first tab, the Page.IsValid will always return false for every tab after that.

Does anyone have a better solution? Thanks!
Josh Pollard
Top achievements
Rank 1
 answered on 24 Sep 2009
1 answer
68 views
Hi - I have a scheduler with multiple rooms defined - some of my 'talks' are just in 1 room but I need to define things such as 'breakfast' that span all rooms - is this possible?

Thanks
Peter
Telerik team
 answered on 24 Sep 2009
1 answer
174 views
My problem happens after I have added and removed a tab.
var tabStrip = $find("<%= RadTabStrip1.ClientID %>"); 
var selectedTab = tabStrip.findTabByText("StopOffs"); 
tabStrip.trackChanges(); 
if (selectedTab == null) { 
    var tab = new Telerik.Web.UI.RadTab(); 
    tabStrip.get_tabs().insert(2,tab); 
    tab.set_text("StopOffs"); 
    tab.set_pageViewID("TABSTOPOFF"); 
    selectedTab = tabStrip.findTabByText("StopOffs"); 
} 
... 
if (a == "YES") { 
    selectedTab.set_visible(true); 
} 
else { 
    tabStrip.get_tabs().remove(selectedTab); 
} 
tabStrip.commitChanges(); 
So assume this code has been executed and a == "NO".
(If a == "YES" then the tab is added and everything happens as expected.)
The problem is after I leave the tab I need an event to fire based on the tab I leave, but OnClientTabSelecting is giving me the wrong tab name.
function OnClientTabSelecting(sender, eventArgs) { 
    var selectedTab = sender.get_selectedTab().get_text(); 
    alert (selectedTab); 
} 
So, in the case described above when I leave tab "Questions" OnClientTabSelecting will alert "References".
But, if the a == "YES", and therefore "StopOffs" is in the tabStrip and shown, then when I leave tab "Questions" OnClientTabSelecting will alert "Questions" like it is supposed to.
Also, if I never reach the function shown in the first code block (that is "StopOffs" tab was never added) then when I leave tab "Questions" OnClientTabSelecting will also alert "Questions" like it is supposed to.
Note: StopOffs tab is to the left of Questions tab. I don't know why it matters, but I add tabs to the right of Questions without an issue.
Thanks for any help.
Paul
Telerik team
 answered on 24 Sep 2009
2 answers
113 views
First let me explain my scenario:

I have a Default.aspx on which resides a PlaceHolder. I add user controls (ascx) to controls of PlaceHolder. On that user controls, i have RadGrids by which i insert/update/delete records. I popup another aspx from RadGrid to insert/update/delete records. When i insert/update/delete over this popup i use following codes:

on PopUp.aspx:

function

CloseAndRebind(args)

 

{

GetRadWindow().Close();

GetRadWindow().BrowserWindow.refreshGrid(args);  // refreshGrid here refers to  codes from which that popup is called(ascx)

}


on usercontrol.ascx:

 

function

 

 

refreshGrid(arg)

 

{

 

 

 

if(!arg)

 

{

$find(

 

 

"<%= RadAjaxManager1.ClientID %>").ajaxRequest("Rebind");

 

}

 

 

 

else

 

 

 

 

 

 

{

$find(

 

 

"<%= RadAjaxManager1.ClientID %>").ajaxRequest("RebindAndNavigate");

 

}

}

on usercontrol.ascx.cs:

 

 

 

 

protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)

 

{

 

 

 

if (e.Argument == "Rebind")

 

{

RadGridHizmetler.MasterTableView.SortExpressions.Clear();

RadGridHizmetler.MasterTableView.GroupByExpressions.Clear();

RadGridHizmetler.Rebind();

}

 

 

 

else if (e.Argument == "RebindAndNavigate")

 

{

RadGridHizmetler.MasterTableView.SortExpressions.Clear();

RadGridHizmetler.MasterTableView.GroupByExpressions.Clear();

RadGridHizmetler.MasterTableView.CurrentPageIndex = RadGridHizmetler.MasterTableView.PageCount - 1;

RadGridHizmetler.Rebind();

}

}

Popup is closed and (for instance) new record is inserted to the database. That is ok. However when i click nextpage or last page  of RadGrid(on ascx that has been added to control of PlaceHolder), RadGrid just disappears. When i  click  any page number nothing happens and when i click another page number(at the second try) RadGrid disappears again.

How can i resolve this?  Thanks...

 

 

 

 

 

 

Kem Arda
Top achievements
Rank 1
 answered on 24 Sep 2009
1 answer
267 views
When the calendar runs it default to the current month, I need to gain access to those dates... can someone point me in the right direction on where I can get the start and end date of that calendar.

Thanks so much
Peter
Telerik team
 answered on 24 Sep 2009
3 answers
157 views
Hi,

I've been evaluating the RadControls for ASP .NET, primarily the Grid control, for the last few weeks and posted a number of questions.  In most cases, I was able to get satisfactory answers...very nice.  Here's another question:

I have a parent grid with one detail grid.  I set scrolling as:

 

<Scrolling AllowScroll="True" UseStaticHeaders="True"

 

 

FrozenColumnsCount="6" SaveScrollPosition = "true" />

 


Scroll bar appears for the master grid.  However, when I open the detail grid from a row in the master grid, no scrollbar appears even though there are columns beyond the grid boundary.

Is there a way to make the detail grid scrollable as well?

Thanks.

Barry
Vlad
Telerik team
 answered on 24 Sep 2009
1 answer
242 views
I am looking at using a RadGrid to display a basic photo gallery. I have the grid configured, with a GridImageColumn showing a thumbnail image (from a file), along with a description. What I'd like to do is to either have the large version appear when the small image is clicked (or perhaps on hover?). I'd like to get something like the Lightbox javascript functionality, where the image appears in an overlay on the page.

Is this possible? Any suggestions? I can do this easily with a repeater and the lightbox script, but I am trying to use Telerik controls and wondering if I can do it with the grid.

TIA for any suggestions.
Yavor
Telerik team
 answered on 24 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?