Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
59 views
hi guys
i wanna change order of my data source when i export Excel.
fo example wanna chand order or direction or change order of 2-3 of column
Daniel
Telerik team
 answered on 01 Jul 2010
3 answers
265 views
hi guys
how ican change order of column in grid for expord.
for example i have a grid with 3 column c1 c2 c3
now i wanna show in excel c3 c1 c2
how can i implement that?
Daniel
Telerik team
 answered on 01 Jul 2010
1 answer
94 views
Hi,

I am using Telerik RadGrid Controls. i am using a record set 30k. when i am trying to export to PDF, i am getting Memory out of exception error. The same thing is working for Excel, CSV and word.

I am writing my own query and in the code-behind i am binding the datasource to the radgrid control. 

And, i am also facing Collection error for my web application with Master pages. 

Please give immediate response.

Regards
Vamshikrishna Reddy.M.
Daniel
Telerik team
 answered on 01 Jul 2010
2 answers
109 views
Hi,

I encountered a weired issue when enabling client-side scroll. When scroll was disabled, the generated image came as a whole piece without any issue. When scroll was enabled, the image was broken into 3 pieces: AxisX, AxisY, and PlotArea. That's when something weired happened. AxisX went to the top, and PlotArea moved to the bottom. Below is the HTML source. The 3 pieces' size and position look ok, but they are not in the position they are supposed to be. Also attached are screenshots for scroll enabled and disabled. Does anyone else see this before? What is the cause, and what is the work-around?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML Strict//EN"><META http-equiv="Content-Type" content="text/html; charset=utf-8"> <HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><STYLE> /* Rule 183 of ../Styles/BaseStyles.css */ .pContent { COLOR: #003366; HEIGHT: 30px} /* Rule 7 of ../Styles/BaseStyles.css */ .pcC {   VERTICAL-ALIGN: top;    WIDTH: 100%} /* Rule 2 of ../Styles/BaseStyles.css */ .pcTable {    } /* Rule 173 of ../Styles/BaseStyles.css */ .pbC { VERTICAL-ALIGN: top;    BACKGROUND-COLOR: #ffffff} /* Rule 187 of ../Styles/BaseStyles.css */ .pbTable {    } /* Rule 185 of ../Styles/BaseStyles.css */ .pAlign {  VERTICAL-ALIGN: top} /* Rule 13 of ../Styles/Styles.css */ .pageView {  PADDING-RIGHT: 3px; PADDING-LEFT: 3px;  MARGIN-BOTTOM: 3px; PADDING-BOTTOM: 3px;    MARGIN-LEFT: 3px;   MARGIN-RIGHT: 3px;  PADDING-TOP: 3px;   BACKGROUND-COLOR: white} /* Rule 6 of ../Styles/Styles.css */ TD.tabBelow { BORDER-RIGHT: #828282 1px solid;    BORDER-TOP: #828282 1px;    BORDER-LEFT: #828282 1px solid; BORDER-BOTTOM: #828282 1px solid} /* Rule 8 of ../Styles/Styles.css */ .tabContainer {  WIDTH: 900px} /* Rule 163 of ../Styles/BaseStyles.css */ .pBack {   MARGIN: 0px;    BACKGROUND-COLOR: #ffffff} /* Rule 1 of ../Styles/BaseStyles.css */ HTML {  DIRECTION: ltr} </STYLE></HEAD><BODY class="pBack" id="Body1"><FORM id="Form1" name="Form1" action="ShowPATIENTPage.aspx?MRN=36FF483E74D7CDCED3F8F2672CD559F2&SessionId=DING12778" method="post"><TABLE height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"><TBODY><TR><TD class="pAlign"><TABLE class="pbTable" cellSpacing="0" cellPadding="0" border="0"><TBODY><TR><TD class="pbC"><TABLE class="pcTable" cellSpacing="0" cellPadding="0" border="0"><TBODY><TR><TD class="pcC"><TABLE height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"><TBODY><TR><TD><TABLE cellSpacing="0" cellPadding="0" width="100%" border="0"><TBODY><TR><TD class="pContent"><DIV id="PATIENTRecordControlUpdatePanel"><TABLE class="tabContainer" cellSpacing="0" cellPadding="0" border="0"><TBODY><TR><TD class="tabBelow" colSpan="2"><DIV id="MyMultiPage"><DIV class="pageView" id="Laboratory"><TABLE height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"><TBODY><TR><TD class="pAlign"><TABLE class="pbTable" cellSpacing="0" cellPadding="0" border="0"><TBODY><TR><TD class="pbC"><TABLE class="pcTable" cellSpacing="0" cellPadding="0" border="0"><TBODY><TR><TD class="pcC"><TABLE height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"><TBODY><TR><TD><TABLE cellSpacing="0" cellPadding="0" width="100%" border="0"><TBODY><TR><TD class="pContent"><DIV id="Laboratory_userControl_LabMultiPage"><DIV id="Laboratory_userControl_ChartPageView"><TABLE><TBODY><TR><TD width="902" colSpan="2">  
 
<DIV class="RadChart" id="Laboratory_userControl_LabRadChart" style="BACKGROUND: url(ChartImage.axd?UseSession=true&ChartID=a71b4274-aeed-4f16-b9d7-4d8c3ec71d4f_chart_Laboratory_userControl$LabRadChart&imageFormat=Png&random=0.255709821943059) no-repeat; WIDTH: 900px; HEIGHT: 500px"> 
  <DIV class="rchAxisX" style="LEFT: 45px; WIDTH: 837px; TOP: 460px; HEIGHT: 40px"> 
    <DIV id="Laboratory_userControl_LabRadChart_xAxis" style="BACKGROUND: url(ChartImage.axd?UseSession=true&ChartID=bf7f4b22-b3c8-41e1-827a-127ad8d932a2_chart_Laboratory_userControl$LabRadChart&imageFormat=Png&random=0.558874095584673) no-repeat; LEFT: 0px; WIDTH: 838px; HEIGHT: 40px"> 
    </DIV> 
  </DIV> 
  <DIV class="rchAxisY" style="LEFT: 0px; WIDTH: 46px; TOP: 50px; HEIGHT: 420px"> 
    <DIV id="Laboratory_userControl_LabRadChart_yAxis" style="BACKGROUND: no-repeat; WIDTH: 46px; TOP: 0px; HEIGHT: 420px"> 
    </DIV> 
  </DIV> 
  <DIV class="rchPlotArea rchXOnly" id="Laboratory_userControl_LabRadChart_rcPlotArea" style="LEFT: 46px; WIDTH: 837px; TOP: 60px; HEIGHT: 400px"> 
    <DIV class="rchImgWrap" id="Laboratory_userControl_LabRadChart_rchImgWrap" style="WIDTH: 837px; HEIGHT: 400px"> 
      <DIV id="Laboratory_userControl_LabRadChart_c_0_0" style="LEFT: 0px; WIDTH: 837px; TOP: 0px; HEIGHT: 400px"> 
        <IMG src="http://localhost:2067/WebApp/PATIENT/ChartImage.axd?UseSession=true&ChartID=f7e1ef94-64ca-400a-adb0-0b57614b30b3_chart_Laboratory_userControl$LabRadChart&imageFormat=Png&random=0.531652389341803" /> 
      </DIV> 
    </DIV> 
  </DIV> 
  <INPUT id="Laboratory_userControl_LabRadChart_ClientState" type="hidden" name="Laboratory_userControl_LabRadChart_ClientState" autocomplete="off" value="" />  
</DIV> 
 
</TD></TR></TBODY></TABLE></DIV></DIV></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV></DIV></TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FORM></BODY></HTML> 
 

dingjing
Top achievements
Rank 2
 answered on 01 Jul 2010
9 answers
226 views
Hi,
I have a print page functionality on my page. When I print everything comes properly except "Select " text next to each rad combo box. When I view source the code I found some extra code gets appended by defualt to the rad combo box .The anchor tag with id "ctl00_cntContent_cmbAccess_Arrow" and text "Select" is that extra code as shown below.

<tr class="rcbReadOnly">
<td class="rcbInputCell rcbInputCellLeft" style="margin-top:-1px;margin-bottom:-1px;width:100%;"><input name="ctl00$cntContent$cmbAccess" type="text" class="rcbInput" id="ctl00_cntContent_cmbAccess_Input" value="Unit Helper" style="display: block;" readonly="readonly" /></td><td class="rcbArrowCell rcbArrowCellRight" style="margin-top:-1px;margin-bottom:-1px;"><a id="ctl00_cntContent_cmbAccess_Arrow" style="overflow: hidden;display: block;position: relative;outline: none;">select</a></td>
</tr>

The code I have written on page is :

 

<tr align="center">

 

 

<td style="width:30%" align="right" class="Label">

 

Audit Role:

 

</td>

 

 

<td align="left" style="width:35%" colspan="2">

 

 

<asp:DropDownList ID="ddl" runat="server" DataSourceID="sqlRole" DataTextField="Role" DataValueField="ID" Width="250px" />

 

 

</td>

 

 

</tr>

 


The "Select" text doesn't come on screen but only when I click Print page btn on my page which opens a new window with the controls of the page at that time next to each rad combo box it shows "Select" text. How can I remove this??

Regards,
Lubna.


Kalina
Telerik team
 answered on 01 Jul 2010
3 answers
338 views

Hi,

Environment: VS 2008 SP1, RadControls for ASP.NET AJAX Q1 2010 NET35.

I have 4 related Radcombo boxes. Below are items in each of them and also my expectations. Any help will be appreciated. Thanks

GC_0620
________

RadComboBoxMain Items:

Revision
Transfer

Leave of absence

Termination

______________
RadComboBoxReviewReason (if Selected value from RadComboBoxMain = Revision or Transfer) then Items must be below else Item text will be "".

(if Selected value from = or ) then Items must be below else Item text will be "".

Annual Increment
Change hours
Demotion
Language Differential
Leave of Absence
Obtain UPIN
Other
Promotion
Return from Leave
Salary Adjustment
Therapeutic Differential
Title Change
Transfer to another program

_________________
RadComboBoxLeaveofabsence (if Selected value from RadComboBoxMain = Leave of absence) then Items must be below else Item text will be "".

(if Selected value from = ) then Items must be below else Item text will be "".

Disability
Educational
FMLA
Maternity
Military
Personal
Other

_________
RadComboTeminationReason (if Selected value from RadComboBoxMain = Termination) then Items must be below else Item text will be "".

(if Selected value from = ) then Items must be below else Item text will be "".

Resignation
Discharge
Layoff

Kalina
Telerik team
 answered on 01 Jul 2010
1 answer
160 views
I have a radgrid row containing bound columns to my SQL Data source.

My SELECT procedure includes a number of derived values (such as math results or related info)

These columns in the grid are marked as "read only" which properly prevents them from being given edit boxes during insert procedures.

However... must I use some additional logic to prevent them from trying to be used in the automatic insert function?

That is... of the 8 columns in my grid, only 4 have "real" insertable values and the rest are just displayed for reference.
Thus my INSERT and UPDATE stored procedures only take 4 parameters.

upon insert/edit the app throws the following error:

Procedure or function <function name> has too many arguments specified.


So my immediate assumption is that the "automatic" insert/update option is trying to pass ALL the columns.... Am I incorrect here?
How should i be doing this?


Thanks

EDIT: Actually, the update logic is working properly. The Insert is the sole issue


Matthew
Top achievements
Rank 1
 answered on 01 Jul 2010
2 answers
146 views
I have a RadGrid that has about 12 groups (grouped by months).   The GroupsDefaultExpanded (true/false) expands or collapses "ALL" the groups.  Is there a way to Expand "ONLY THE FIRST GROUP" within the 12 groups in the code behind? 

Example: 

January 2010 (Expanded)
    Items
    Items
    Items
February 2010 (Collapsed)
March 2010 (Collapsed)
April (Collapsed)
etc.

Thanks in advance for some guidance.
Karl Rohrbach
Top achievements
Rank 1
 answered on 01 Jul 2010
2 answers
112 views
Hi,

I ran into an issues while testing a site using Rad Upload. If a filename contains "%" (percent sign) the file is not uploaded. I dont know why the file is not uploaded, but I know that it is not in the UploadedFiles object when I safe the files serverside. I've tried to skip the internal validator completely but that does not solve the problem.

Is there a workaround for file names containing the percent sign or any other special char which causes similar problems?


Thanks in advance.

Jasper
Top achievements
Rank 1
 answered on 01 Jul 2010
5 answers
342 views
Our application provides users with a list of contacts.  The user would like to locate a specific contact by typing the first letter of the contact's name and have the list box jump to that item in the list.  I have not seen an autocomplete property for the ASP.NET RADListBox control.  Is there another method to support this functionality?

Sean M. Severson
Jonathan Torres
Top achievements
Rank 1
 answered on 01 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?