Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
617 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
111 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
85 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
210 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
75 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
120 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
69 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
51 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
97 views
How to set the selectedValue for dropdowntree(client-side).
Kate
Telerik team
 answered on 13 Jun 2013
5 answers
155 views
Hi,

I have a Rad Tree control within a user control, which when I run renders as a bulleted list and only shows the first (parent) nodes and not the child nodes!

I am not sure what is causing this, as when I use the same Rad Tree in a normal page it works and looks fine.

I would really appreciate if someone can help me on this one.

Tahir
Aarsh
Top achievements
Rank 1
 answered on 13 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?