Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
274 views
I have a page with a modal radtooltip that works fine upon loading the page.  However, after a postback the tootip is not displayed.   I have set the Z-Index really high for the tooltip and  this  helped to give the modal effect by graying out my screen, but you still cannot see the tooltip.  Does anyone have a solution to this?

<telerik:RadToolTip ID="RadToolTip1" runat="server" style="z-index:10000;" Modal="true" ManualClose="true" 
        ShowEvent="FromCode" Sticky="true" Position="Center" Skin="Vista" TargetControlID="btnNew"
I have tried both ShowEvent="OnClick" and ShowEvent="FromCode"
Mark
Top achievements
Rank 1
 answered on 22 Jun 2011
10 answers
248 views
Hi Folks,

I implemented  my business logic using RadGrid and Client Side Scripting. I also enabled Paging on RadGrid.
If I check any checkboxes for pageindex=1 and then went for next records with pageindex=2 and while return back the checkbox values are
missing they are showing empty.
So Please Tell me how to hold those values for checkbox in RadGrid.
looking for suggestions
Thanking you all
Adam
Top achievements
Rank 1
 answered on 22 Jun 2011
1 answer
77 views
Dear Telerik-Support

I set up a RadGrid with SelfHierarchySettings. Everything works fine. The hierarchy will shown as expected.

Then I allow filtering on some columns. The problem is that the default filter (it.PrentId == null from Page_Load()) to show only the root items will be lost and according to this all items (also the child items) will be shown in the grid after the user fire a column filter.

How can I add the default filter (it.PrentId == null from Page_Load()) to all filter events that are fired against the grid/datasource? So witch  event is the right one to manipulate the filterExpression or filterExpressions to add a default filter before the datasource will be filtered based on this manipulated filters.

Please see my attched files.

Kind regards,
Chrsitian
Daniel
Telerik team
 answered on 22 Jun 2011
3 answers
149 views
Im unable to get javascript intellisense working for a specific controls client side API.

the control I'm working with right now is DateTimePicker.
how do I get javascript intelliesense to work with it?

none of these objects are available in intellisense

http://www.telerik.com/help/aspnet-ajax/calendar-client-side-rad-datetimepicker.html

I already added a reference to the core telerik javascript

<asp:ScriptManager ID="ScriptManager1" runat="server">
    <Scripts>
        <asp:ScriptReference Name="Telerik.Web.UI.Common.Core.js" Assembly="Telerik.Web.UI" />
    </Scripts>
</asp:ScriptManager>

I tried to add Name="Telerik.WebUI.Calendar.RadDateTimePicker.js" Assembly="Telerik.Web.UI" />

We have premium license and I looked in the source code and it has the vsdoc files for javascript intellisense but it doesn't work for me?
Daniel
Telerik team
 answered on 22 Jun 2011
1 answer
97 views
I'm building a sharepoint web part with the ability to change rotator types via the web part property interface.  Easy enough.  However, I'm having a hard time making the "rotatortype" dynamic in code.  Do you have any examples of how this could/should be done?  The web part is in c# but I see that others have used javascript to configure their rotators.  Just a basic example of how to change the rotator type should suffice.  Being a programming newb this is quite a little challenge for me. 

Thanks!
Clint
Top achievements
Rank 1
 answered on 22 Jun 2011
1 answer
123 views
Dear Telerik,

I am using RadGrid in a web application that is browsed from a touch screen monitor. It becomes very difficult for the users to scroll using the standard sized scroll bars that come up in radgrid. Can someone please advice on how to increase the scroll bar width?

Many thanks,

- Stepan.
Galin
Telerik team
 answered on 22 Jun 2011
8 answers
161 views
Hello there,


using a sample provided in the following link (http://www.telerik.com/community/forums/aspnet-ajax/docking/dynamic-creation-of-layout-zones-and-docks.aspx)   and even in my own code I get viewstate errors ("...The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. ...")  when I do the following:

In the example provided:

Add a new tab by click create new page.
Add a dock to the first tab.
Go to the second tab.
Add a dock to the second tab.
Go Back to the first tab.  BOOM!  View state error.

Does anyone know a solution for this?  My project is bascially structured exactly like this sample except I use a database.

Thanks,

Brian
Pero
Telerik team
 answered on 22 Jun 2011
3 answers
92 views
Hello,
I want to set hover style all the time in the buttons of radtoolbar, because in normal style, the button is too much flat and it hasn't border, it seems a label instead of a button.
Can anybody help me?

Thanks in advance.
Kate
Telerik team
 answered on 22 Jun 2011
1 answer
283 views
Dear sirs

I have added 4 new resource types Task,Client,Infotype,Status
Im facing 2 problems
1. I could not access these controls from codebehind
below im given you a sample of finding <Task> the dd_combo return nothing the same happens if i try to find the other 4
resources <client,infotype,status>
2. I will like to know how can i handle advancedform validation for these 4 new resources when user press the save button, i have tried all javascript sample you provided in forums with no luck

CodeBehind
'=======================================================================================
Protected
Sub rs_FormCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.SchedulerFormCreatedEventArgs) Handles rs.FormCreated

 

 

If ((e.Container.Mode = Telerik.Web.UI.SchedulerFormMode.AdvancedEdit) _

 

 

OrElse (e.Container.Mode = Telerik.Web.UI.SchedulerFormMode.AdvancedInsert)) Then

 

 

 

 

 

 

Dim ddl_combo As radcombobox= DirectCast(e.Container.FindControl("task"), radcombobox)

 

 

 

 

 

 

End If

 

 

 

 

 

 

end Sub
'==========================================================================================

 

 

 


'===========================================================================================
<

 

telerik:RadScheduler runat="server" ID="rs" SelectedDate="2007/03/30"

 

 

TimeZoneOffset="03:00:00" StartEditingInAdvancedForm="true"

 

 

CustomAttributeNames="StatusID,Task"

 

 

StartInsertingInAdvancedForm="true" Width="100%" Height="500px"

 

 

DataKeyField="ID" DataSubjectField="Subject" DataStartField="Start" DataEndField="End"

 

 

DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentID"

 

 

Culture="Greek (Greece)" EditFormDateFormat="dd/MM/yy" Skin="Office2007">

 

 

<AdvancedForm Modal="True" DateFormat="dd/MM/yy"/>

 

 

<AppointmentTemplate>

 

<%

# Eval("Subject")%>

 

 

 

</AppointmentTemplate>

 

 

 

<ResourceTypes>

 

 

<telerik:ResourceType KeyField="taskID" Name="Task" TextField="descr" ForeignKeyField="taskid"

 

 

DataSourceID="taskds" />

 

 

<telerik:ResourceType KeyField="ID" Name="Client" TextField="UserName" ForeignKeyField="UserID"

 

 

DataSourceID="usersds" />

 

 

<telerik:ResourceType KeyField="informID" Name="InfoType" TextField="descr" ForeignKeyField="informid"

 

 

DataSourceID="informds" />

 

 

<telerik:ResourceType KeyField="StatusID" Name="Status" TextField="descr" ForeignKeyField="StatusID"

 

 

DataSourceID="statusds" />

 

 

</ResourceTypes>

 

 

 

<TimeSlotContextMenuSettings EnableDefault="True" />

 

 

<AppointmentContextMenuSettings EnableDefault="True" />

 

 

</telerik:RadScheduler>
'===================================================================================

 

Plamen
Telerik team
 answered on 22 Jun 2011
2 answers
902 views
After submitting this request, I kept searching your knowledge base, forums, etc. and found a solution to my problem -- turning off the auto scroll setting.  What an idiot I am!

You may close this item now.  I'm a happy camper.  My apologies for mucking up the works with this one!

I have a RadGrid that I need to grow vertically with content.  If I do not set a height, it always defaults to 300px.  I have attached or included several items for you to review.  Using the IE Developer Tools, I have turned off the default 300px height setting and the grid behaves exactly the way I want it to.

First the definition of the grid:
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="false" EnableEmbeddedSkins="true" Skin="Default" ShowHeader="false"
     AllowPaging="True" PageSize="5" GridLines="Horizontal" >
    <PagerStyle Mode="NextPrevAndNumeric" />
    <MasterTableView >
        <Columns>
            <telerik:GridTemplateColumn UniqueName="TemplateColumn1" >
                <ItemTemplate>
                    <table width="155px">
                        <tr>
                            <td >
                                <asp:Image ID="Image1" Style="float: left;" Width="150px" Height="100px" ImageUrl='<%# Eval("PicturePath")%>'
                                    BorderWidth="1px" runat="server" AlternateText="Stock Image" />
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Center" />
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn UniqueName="TemplateColumn2" >
                <ItemTemplate>
                    <table>
                        <tr>
                            <td>
                                <div>
                                    <ul>
                                        <li>
                                            <label><b>Address: </b></label><%# Eval("ListingStreetAddress")%>
                                        </li>
                                        <li>
                                            <label><b>Beds: </b></label><%# Eval("Bedrooms")%>
                                        </li>
                                        <li>
                                            <label><b>Baths: </b></label><%# Eval("Bathrooms")%>
                                        </li>
                                        <li>
                                            <label><b>Price: </b></label><%# Eval("ListingPrice", "{0:##,##0.00}")%>
                                        </li>
 
                                        <li>
                                            <label><b>City: </b></label><%# Eval("CityName")%>
                                        </li>
                                        <li>
                                            <label><b>State: </b></label><%# Eval("StateName")%>
                                        </li>
                                        <li>
                                            <label><b>Country: </b></label><%# Eval("CountryName")%>
                                        </li>
 
 
                                    </ul>
                                </div>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridBoundColumn UniqueName="Lat1" DataField="Lat1" Visible="false"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Long1" DataField="Long1" Visible="false"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="TblName" DataField="TblName" Visible="false"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="ListingStreetAddress" DataField="ListingStreetAddress" Visible="false"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="CityName" DataField="CityName" Visible="false"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="StateName" DataField="StateName" Visible="false"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="CountryName" DataField="CountryName" Visible="false"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="ListingPlannedCommName" DataField="ListingPlannedCommName" Visible="false"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="ListingSubdivision" DataField="ListingSubdivision" Visible="false"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="ListingZipPostalCode" DataField="ListingZipPostalCode" Visible="false"></telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
    <ClientSettings AllowDragToGroup="false">
        <Scrolling AllowScroll="true" UseStaticHeaders="false" />
    </ClientSettings>
</telerik:RadGrid>


Attachments:
(1) I have attached a screen capture of the grid as it displays with default settings as grid_height_issue_1.png .

(2) I have attached a screen capture of the IE Developer Tools window where I have disabled the default height setting as grid_height_issue_2.png .

(3) I have attached a screen capture of the grid as it displays after disabling the default height setting as grid_height_issue_3.png.

Your help in the best manner of turning off this 300px height setting would be most appreciated.

Thanks!

Lynn
Iana Tsolova
Telerik team
 answered on 22 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?