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

I'm using a Scheduler inside a SplitPane.
Split area is divided in 3 :
  - Left : fixed size, locked
  - Middle : contains scheduler
  - Right : fixed size, can collapse/expand.

On "right" collapse, scheduler resize according to its container, but on "right" expand, it does not resize, and overlap the panel.

How can I fix this please ?

Thanks.
Peter
Telerik team
 answered on 15 Jun 2009
1 answer
145 views
I'm using RadcomboBox and TextBox as template columns in a RadGrid.Edited values of textbox and comboBox disappears when paging occurs.I want to retain that values.
Tsvetoslav
Telerik team
 answered on 15 Jun 2009
1 answer
187 views
Hi,

While opening a RadWindiow, I initialize their behavior (say have just Close and Maximize button). But when the window is shown, the position of the buttons are not proper ie buttons are not appearing to the extreme right of the title bar. When I resize the window, they are positioned properly ie buttons are aligned to the right. Following is the code I am using to show the window

        function openPopup() {
            var oWnd = radopen("http://www.google.com", null);
            oWnd.setSize(1000, 1000);
            oWnd.set_initialBehaviors(Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Close);
            oWnd.set_behaviors(Telerik.Web.UI.WindowBehaviors.Maximize + Telerik.Web.UI.WindowBehaviors.Close);
        }
I am currently using "Hay" skin (able to see the same behavior with Default skin also). Product version of the assembly is 2009.01.0402.35.

Regards,

Raja


Fiko
Telerik team
 answered on 15 Jun 2009
1 answer
182 views
Dear Telerik,

I'm trying to find a way to check whether an username exists during the registration. Preferable while the user is typing his/her username. This could be done through a webservice. Does the input control support this feature? Is their code online which shows how this will work?

Thanks in advance.

Robert
Testing Telerik.
Veli
Telerik team
 answered on 15 Jun 2009
1 answer
68 views
I have this:

   <telerik:RadEditor id="radEditor" runat="server" > 
          <CssFiles> 
                <telerik:EditorCssFile Value="~/css/radeditor.css" /> 
           </CssFiles> 
   </telerik:RadEditor> 

And in my radeditor.css:

body  
{  
    font-size:12px;  
    font-family:Arial;  
}  
 
 

The problem is, the editor's text will have these font styles only in Firefox. In IE, it just shows text with ugly times new roman and 12px. Dont know what i am missing. Its fine in firefox...
Rumen
Telerik team
 answered on 15 Jun 2009
2 answers
143 views
I have a very long report that uses RadWindow popups to allow the user to edit data.  However, when the user is a ways down in the report and clicks on a button in the row in which they're looking to open the RadWindow, although the screen grays out, the popup opens above or below where the user is actually looking.  I am assuming the window is opening mid-way down/up the page, and if the user isn't at that point, they have to scroll to look for it.

Is there a way to set the location of the RadWindow so that it is centered in the screen where they've opened it?

Thanks!

Michael
Fiko
Telerik team
 answered on 15 Jun 2009
1 answer
64 views

I am having a strange problem when trying to show a RadWindow every time a user click a RadTab.

This happens in codebehind when the user click a tab and an internal condition is true:

string strScript = "radconfirm('Save?', confirmCallBackFn, 430, 110, null, 'Save');";
ScriptManager.RegisterStartupScript(this, this.GetType(), "rtsFallvilt", strScript, true);

If I at the same time remove the mouse pointer from the clicked tab everything works fine, but if the mouse pointer is left standing over the tab that was clicked the radconfirm is shown but togheter with a javascript error saying "unspecified error".

When I debug the error is in the ScriptResource.axd on this line "_45.setActive();"

Any idea?

Fiko
Telerik team
 answered on 15 Jun 2009
1 answer
149 views
hello is it possible to have a Groupbyexpression render as a link? I would like to be able to pass the friendly name to the user and the recordid in the url. something like <a href=# onclick=openRadWindow('1105512'); return false;>2009 Mazda Miata</a>
This is my current group by expression and format string .. however you will note I have used {0} for both instances. 

 

Would LOVE to see : Mazda Miata: Avaialable: 1
RENDERS AS: RecordID: 80329; Available: 1

 

<GroupByExpressions>   
<telerik:GridGroupByExpression> 
<GroupByFields> 
<telerik:GridGroupByField FieldAlias="Description" FieldName="RecordID" /> 
</GroupByFields> 
<SelectFields> 
<telerik:GridGroupByField FieldName="RecordID" FormatString="<a href=# onclick=openRadWindow('{0}'); return false;>{0}</a>" /> 
<telerik:GridGroupByField FieldName="Countitem" Aggregate="Count" HeaderText="Available"/>  
</SelectFields> 
</telerik:GridGroupByExpression> 
</GroupByExpressions> 
 

 

The current string does work to popup the information (I have no idea how without any quotes...) , however I really would prefer to see the description.
thanks
mac

 

Veli
Telerik team
 answered on 15 Jun 2009
1 answer
153 views
Hi Telerik
I am using RadGrid but due to pre-design excel template i am doing export to excel function using below code. It is working fine. but when i deployed it on relience server then it is not working. even not generating any error also.
code :

public

 

void ExcelExport(System.Data.DataTable tblExportData, string TempFilePath,string userInfo,bool headerStatus)

 

{

 

try

 

{

Microsoft.Office.Interop.Excel.

Application excelApp = new Microsoft.Office.Interop.Excel.Application();

 

excelApp.Workbooks.Open(TempFilePath,

Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);

 

 

 

//Writing Header in Excel

 

 

if (headerStatus == true)

 

{

 

for (int i = 0; i < tblExportData.Columns.Count; i++)

 

{

excelApp.Cells[7, i + 1] = tblExportData.Columns[i].ColumnName;

}

}

 

//Writing Data in Excel

 

 

for (int i = 1; i <= tblExportData.Rows.Count; i++)

 

{

 

for (int j = 0; j < tblExportData.Columns.Count; j++)

 

{

 

string colName = tblExportData.Columns[j].ColumnName;

 

excelApp.Cells[i + 7, j+1] = tblExportData.Rows[i-1][colName];

}

}

 

//Create a worksheet object

 

Microsoft.Office.Interop.Excel.

Sheets sheets = excelApp.Worksheets;

 

 

//from the collection of worksheet select one worksheet

 

Microsoft.Office.Interop.Excel.

Worksheet mySheet = (Microsoft.Office.Interop.Excel.Worksheet)sheets.get_Item(1);

 

 

//select the cell in the worksheet

 

Microsoft.Office.Interop.Excel.

Range myCell1 = (Microsoft.Office.Interop.Excel.Range)mySheet.get_Range("A6", "A6");

 

 

 

myCell1.Value2 = userInfo;

 

 

 

myCell1.Font.Color = System.Drawing.Color.Black.ToArgb();

 

 

 

excelApp.Visible = true;

 

 

}

 

catch (Exception ex)

 

{

}

}

since export to excel button is grid command item so i am handling postback operation using this code.

 

if

 

(e.Item is GridCommandItem)

 

{

 

GridCommandItem item = (GridCommandItem)e.Item;

 

 

ImageButton ibtn = item.FindControl("imgbtnExport") as ImageButton;

 

ibtn.OnClientClick =

String.Format("{0}.__doPostBack(\"{1}\",\"{2}\");return false;", RadAjaxManager1.ClientID, ibtn.UniqueID, ibtn.CommandArgument);

 

}

and now in exporttoexcel button click event i am calling above function.
in case of local server it's working fine in all system. but once it deployed in another server (e.g. Reliance Server) it's not working.

please help me to achieve my result.
thanks a lot in advance.
binod 

Daniel
Telerik team
 answered on 15 Jun 2009
1 answer
92 views
Hi,

I am using a RadCalendar, ASPNET AJAX SP2 2008 and it doesn't work very well with IE8.
Do you know how I can to fix it ?

Thank you in advance,

Suzi
Daniel
Telerik team
 answered on 15 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?