Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
190 views

I developed a web application that uses RadWindows to display many forms, but because of client resolution problems and the required size of the RadWindow, I needed to create optional pages for some of them. This leads me to my problem.

When the page is viewed in a RadWindow, I have a RadTimePicker that I have overridden the location using the RadCalendarPopup class.

.RadCalendarPopup {  
    left: 50%
    margin-left: -32px
    position: absolute;  
    top: 0px;  
}

Now, the page will be rendered in a browser window on some occasions, therefore, I need to adjust the top location only when the page is viewed in a browser because a navigation menu is included in the top 50px. Thus, I need to change top to 50px;

One solution I have considered is to have two separate CSS files and simply load them as needed in the code-behind, but it seems overkill to duplicate alot of CSS code just for one rule.

I would use javascript client-side, but I have found that getting the correct wrapper div is quite unreliable.

I will entertain any suggestions.


Keith
Top achievements
Rank 2
 answered on 13 Jun 2013
2 answers
674 views
I'm still new to Telerik and .net, So pardon me if this is trivial.
I have a problem with a dynamically built Rad Grid.

It loads just fine but I had a problem where I need to maintain leading white space in
a note text field (it's 50 char data string used to print on forms). 
I found a few ideas to try and fix but the only one that worked for me was to use
the DataFormatString.

Now the problem is when I do this formatting, my row height has almost doubled
in size.  How can I set the row height and still keep the preformatted text from dropping
the leading white space. Any input would be great.

Dim rgOrderNotes As New RadGrid

rgOrderNotes.ID = "rgOrderNotes"

rgOrderNotes.Style("Position") = "Absolute"

rgOrderNotes.Style("Top") = (150).ToString & "px"

rgOrderNotes.Style("Left") = (50).ToString & "px"

rgOrderNotes.Visible = True

rgOrderNotes.AutoGenerateColumns = False

rgOrderNotes.Height = 500

rgOrderNotes.PageSize = 18

rgOrderNotes.ClientSettings.Scrolling.AllowScroll = True

rgOrderNotes.AllowAutomaticInserts = True

rgOrderNotes.AllowAutomaticUpdates = True

 

Dim boundColumn As GridBoundColumn

boundColumn = New GridBoundColumn()

boundColumn.DataField = "O5ITEM"

boundColumn.HeaderText = "LINE #"

boundColumn.HeaderStyle.Width = Unit.Pixel(120)

rgOrderNotes.MasterTableView.Columns.Add(boundColumn)

boundColumn = New GridBoundColumn()

boundColumn.DataField = "ODTEXT"

boundColumn.HeaderText = "NOTE DESCRIPTION"

boundColumn.ItemStyle.Font.Name = "Courier New"

boundColumn.DataFormatString = "<pre>{0}</pre>"

boundColumn.HeaderStyle.Width = Unit.Pixel(400)

rgOrderNotes.MasterTableView.Columns.Add(boundColumn)


 

Todd
Top achievements
Rank 1
 answered on 13 Jun 2013
3 answers
160 views
I have a dataset consisting of over 127,000 records and need to split them up so as not to exceed Excel's 65k row limitation.  Is there a way to export a subset of all the records in a radgrid?

The only way I can see to do it now is splitting the data at the database and populating 2 invisible radgrids, and having a 2-part process of exporting their contents.  This seems pretty kludgey to me.

tia,
Mark
Mike
Top achievements
Rank 1
 answered on 13 Jun 2013
6 answers
108 views
I was reviewing the following example and had a couple of questions I was hoping to get help on.
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/threelevel/defaultcs.aspx

Is there a way to filter out special characters in the fields when updating/inserting?

Is there a way to format the Update/Insert and Cancel link buttons?  For example to space them further apart or make the Update/Insert link buttons bold.

Thanks,
Mark
Mark
Top achievements
Rank 1
 answered on 13 Jun 2013
1 answer
236 views
Hi,

I was wondering how I would modify the start and end time ranges in the RadScheduler New Appointment Popup Modal.

If you look at the attached image you will see the start and end time ranges are from 8:00 AM - 5:30 PM.

For the calendar itself I set the WeekView WorkDayStartTime, WorkDayEndTIme, DayStartTime, and DayEndTime accordingly but this does not apply to the popup modal for a new appointment.

Thanks,

Kevin
Kevin
Top achievements
Rank 1
 answered on 13 Jun 2013
2 answers
95 views
Hello people,
Can anyone help me in displaying an image in a nestedview in  a rad gridview.
The problem here is that I save the link of the image in the database and the real image in a folder.
thanks in advance
Edd
Top achievements
Rank 1
 answered on 13 Jun 2013
3 answers
139 views
Hi
   first.I am from china.sorry for my poor english.
   now i have some problem about Radwindow popup on the topmost iframe.
   I  already figure out how to popup on the topmost iframe from this forum:put a iframe to the topmost page,and call window.top.radopen from the child page
   but now,i have a problem like this : when i use mouse  moveing the popup radwindow,the page content 
 under the radwindow turned to blank,when i release the mouse moving,all the backgroud content is fine
  can i fix it?
  thank you again.
Patrick Montgomery
Top achievements
Rank 1
 answered on 13 Jun 2013
3 answers
108 views
Hi there,

I seen this issue several times in this forum but still no one were able to fix this. It only occurs in Chrome. FF, IE, Safari, Opera are all fine but Chrome.
here's the control :
<telerik:RadButton ID="rbtSamA0" runat="server" ToggleType="Radio" ButtonType="ToggleButton"
    AutoPostBack="false" GroupName="gnSamA">
    <ToggleStates>
        <telerik:RadButtonToggleState ImageUrl="~/Study/tasks/sam/css/jq_sam_img/samA0.png" />
        <telerik:RadButtonToggleState ImageUrl="~/Study/tasks/sam/css/jq_sam_img/samA0-selected.png" Selected="true"/>
    </ToggleStates>
</telerik:RadButton>

Now when I over the button with the mouse, or when I leave the button, the image quickly disappear and then comes back.
I have been through this pretty interesting post, but no luck :/

Any one idea ?

Chris
Danail Vasilev
Telerik team
 answered on 13 Jun 2013
3 answers
61 views
Hey All,

Is it possible to add a grid header in the middle of  the grid rows?

For example:

Name Birthdate Emp # -----Header Row
Brad 1/1/1900 124
Brad 1/1/1900 124
Brad 1/1/1900 124
Brad 1/1/1900 124
Brad 1/1/1900 124
Brad 1/1/1900 124
Name Birthdate Emp # ------Header Row
Brad 1/1/1900 124
Brad 1/1/1900 124
Brad 1/1/1900 124
Brad 1/1/1900 124
Brad 1/1/1900 124
Brad 1/1/1900 124



Thanks for any help or advice you can give.

Brad





Princy
Top achievements
Rank 2
 answered on 13 Jun 2013
1 answer
115 views
How to set the selectedValue for dropdowntree(client-side).
Kate
Telerik team
 answered on 13 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?