Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
171 views

Dears,

I have a RadGrid with EditMode = InPlace and I have two GridTextBoxColumnEditor and one GridNumericColumnEditor.
In my page I save changes when user click Save Button

The problem is:

In Save button code (Vb Code) I am trying to get the text from GridTextBoxColumnEditor  and GridNumericColumnEditor as following:

 EditorL1_NAME.Text (GridTextBoxColumnEditor)
 EditorSALARY.Text   (GridNumericColumnEditor)

Now, I can not get the text in GridTextBoxColumnEditors, while I get the text from GridNumericColumnEditor.

I tried EditorL1_NAME.TextBoxControl.Text   but I got the same result.

Can you help me?

Best Regards

 

 

 

 

 

Mira
Telerik team
 answered on 27 May 2010
1 answer
497 views
Hi,

I need to change the border to white color  in Detail table for a RadGrid. I am not able to set the skin for this even though i am using following in my custom skin,

.RadGrid_Default

 

.rgDetailTable

 

{

 

border-bottom : #FFFFFF !important;

 

 

border-top : #FFFFFF !important;

 

 

border-right : #FFFFFF !important;

 

 

border-left : #FFFFFF !important;

 

 

background : #FFFFFF !important;

 

}

And since the detail table is indented, the vertical column borders are misaligned with the master table. This also needs to be corrected. Please refer the attached screenshot. Since the data is Client Confidential we have masked the data.

Regards,
Meenakshi


Dimo
Telerik team
 answered on 27 May 2010
10 answers
284 views
Hi,

I am getting frustrated with Radcombobox appearance.

I am using RADCONTROLS ASP.NET AJAX Q1 2009.

When i put my RadCombobox on the page .aspx, on run time, it appears funny.
It appears with its shaddow. the shadow appears on the bottom of the control(radcombobox)- like two radcombos..
Could someone help me out.

thanks in advance.
Kamen Bundev
Telerik team
 answered on 27 May 2010
1 answer
123 views
Hi,
Is the remote upload feature supported by the upload control?
I mean is it possible to transfer files directly from server to server?
Thanks!
Genady Sergeev
Telerik team
 answered on 27 May 2010
1 answer
91 views
Hi All,
          I have a radgrid with approx 15 columns. I have a requiremnt like .. Logged in user should be able to select the columns which he wants to see from the 15 available colomns and save the grid settings, and when he next time logs in he will see those columns which he saved in settings instead of all 15 columns. How can i achieve this using GridSettingsPersister class.Please help me regarding this.

Regards,
Dheeraj

Dheeraj
Top achievements
Rank 1
 answered on 27 May 2010
1 answer
181 views

 

protected void btnSearch_Click(object sender, EventArgs e)

 

{

 

getChart();

 

}

 

 

protected void getChart()

 

{

 

 

DateTime today = RadDatePicker1.SelectedDate.Value;

 

 

DateTime _lastDate = RadDatePicker2.SelectedDate.Value;

 

 

// Setup chart orientation

 

 

this.radChart1.SeriesOrientation = ChartSeriesOrientation.Vertical;

 

 

// Setup XAxis

 

 

this.radChart1.PlotArea.XAxis.IsZeroBased = false;

 

 

this.radChart1.PlotArea.XAxis.Appearance.ValueFormat = Telerik.Charting.Styles.ChartValueFormat.ShortDate;

 

 

this.radChart1.PlotArea.XAxis.AutoScale = false;

 

 

this.radChart1.PlotArea.XAxis.AddRange(today.ToOADate(), _lastDate.ToOADate(), 7);

 

 

this.radChart1.PlotArea.XAxis.LayoutMode = Telerik.Charting.Styles.ChartAxisLayoutMode.Inside;

 

 

 

// Setup YAxis

 

 

this.radChart1.PlotArea.YAxis.IsZeroBased = false;

 

 

this.radChart1.PlotArea.YAxis.Appearance.ValueFormat = Telerik.Charting.Styles.ChartValueFormat.Percent;

 

 

this.radChart1.PlotArea.YAxis.AutoScale = false;

 

 

this.radChart1.PlotArea.YAxis.AddRange(0, 1, 0.1);

 

 

 

// Setup Series

 

 

this.radChart1.Series[0].Type = ChartSeriesType.Line;

 

 

this.radChart1.Series[0].DataXColumn = "X";

 

 

this.radChart1.Series[0].DataYColumn = "Y";
this.radChart1.Series[0].Appearance.LabelAppearance.Visible = false;

 

 

 

this.radChart1.DataSource = GenerateSource("Table");

 

 

this.radChart1.DataMember = "Table";

 

 

this.radChart1.DataBind();

 

 

}

 

 

 

private DataSet GenerateSource(string tableName)

 

{

 

DateTime startDate = Convert.ToDateTime(RadDatePicker1.SelectedDate.Value);

 

 

DateTime NewStartDate = Convert.ToDateTime(Projects.GetStartDayOfWeek(startDate));

 

 

DateTime EndDate = Convert.ToDateTime(RadDatePicker2.SelectedDate.Value);

 

 

 

DataTable _oData = new DataTable();

 

 

DateTime _sdate = startDate;

 

 

for (DateTime i = startDate; i <= EndDate; i.AddDays(7))

 

{

 

string[] SplitAction = i.ToString().Split(new Char[] { '/' });

 

 

string columnName = SplitAction[0] + "/" + SplitAction[1];

 

 

 

DataColumn oDataColoumn = new DataColumn(Convert.ToString(columnName), System.Type.GetType("System.String"));

 

i = i.AddDays(7);

_oData.Columns.Add(oDataColoumn);

 

}

 

DataTable table = new DataTable(tableName);

 

table.Columns.Add(

"X", typeof(double));

 

table.Columns.Add(

"Y", typeof(double));

 

 

DataTable oDataTable = Platforms.GetAllPlatforms();

 

 

DataRow dr1 = oDataTable.NewRow();

 

dr1[

"PlatformName"] = "Multiple";

 

dr1[

"PlatformID"] = 0;

 

oDataTable.Rows.Add(dr1);

 

DataRow dr = _oData.NewRow();

 

 

 

 

double total = 0;

 

NewStartDate =

Convert.ToDateTime(Projects.GetStartDayOfWeek(startDate));

 

 

 

for (int oCount = 0; oCount <= _oData.Columns.Count - 1; oCount++)

 

{

 

 

string i = _oData.Columns[oCount].ToString();

 

 

string[] SplitAction = i.ToString().Split(new Char[] { '/' });

 

 

string columnName = SplitAction[0] + "/" + SplitAction[1] + "/" + "2010";

 

 

DateTime dt = Convert.ToDateTime(columnName);

 

 

string ss = GetCountForQuotesTimelines(NewStartDate, Convert.ToInt64(oDataTable.Rows[1][0].ToString()));

 

 

string[] SplitAction1 = ss.ToString().Split(new Char[] { '%' });

 

 

string columnName1 = SplitAction1[0];

 

 

 

 

if (ss != null)

 

{

 

DataRow dr2 = table.NewRow();

 

dr2[

"X"] = dt.ToOADate();

 

 

if (columnName1 == "")

 

{

dr2[

"Y"] = 0;

 

}

 

else

 

{

dr2[

"Y"] = Convert.ToDouble(columnName1);

 

}

 

table.Rows.Add(dr2);

}

 

else

 

{

 

 

}

NewStartDate = NewStartDate.AddDays(7);

}

 

 

 

 

 

DataSet dataSet = new DataSet();

 

dataSet.Tables.Add(table);

 

return dataSet;

 

}

}


///---------------------------

hello ,

I have created a radchart series items dynamically according to the date range selected.My logic show me the proper dataset in the datasource returned but it's not attach with radchart databind event .and don't show any error.all the fields are generated at runtime.
please see the attach file i.e screen shot what i want to do.
Please help me to get out of this error as soon as possible.

Thanks in advance..
 

Ves
Telerik team
 answered on 27 May 2010
1 answer
112 views
HI, i have an issue whit one grid populate whit datasource populate from webservice(svc).

I create a simple webservice where i put some rows.
I create a method for paging that data in each class where i want to have the paging, i pass the parameter
- grid.currentIndex
- grid.pagesize
- filter
- sort

Now, i create a new application where i insert the webservice and create a page where i insert the radgrid whit my parameter and allowpaging set on true.

in the code i use the method for populate that grid and that return all of my row and it populate but paging never won't show.

in the project of the webservice a try the method if having am error and i create inside the radgrid but whitout call the webservice but using EntityDataSource and the grid run perfectly whit paging.

where i make an error??
thanks
Johny
Top achievements
Rank 1
 answered on 27 May 2010
1 answer
118 views
Hi Telerik team,

I have placed multiple user controls inside a Dock zone. Controls loaded fine. Each user control contains multiple controls. I want to access the control values for saving reports.

Example: Rad Dock contains two user controls A, B.
A has two combo boxes and a textbox
B has two radio buttons and a text box.
I need to access the control values inside the user control from the Rad dock .

Please let me know, whether its possible or not.

Thanks,
Nag
Pero
Telerik team
 answered on 27 May 2010
1 answer
77 views
Hi

I downloaded the samples from the following URL. While sorting and applying the filter, it is not retaining the appropriate seletion.

http://www.telerik.com/community/code-library/aspnet-ajax/grid/client-side-row-selection-persisted-with-paging.aspx
http://www.telerik.com/ClientsFiles/131957_pagingwithclientsideselecting-web-ui.zip
Martin
Telerik team
 answered on 27 May 2010
3 answers
956 views
Hi
I want to call Codebehind function from javascript with parameters, then update the radajax panel
e.g
CodeBehind
public function CallCodeBehind(byval InValue as string) as boolean
        code......    
end function

Javascript
    function FromJavascript(){
    var InValue='1';        
    <    What to do here?    >

    }

Now what should i write in <what to do here > code to execute codebehind function with parameters and then update the radajax panel to display new values.


Kind Regards:
Hariindarr Siingh
McConnell Dowell
Shinu
Top achievements
Rank 2
 answered on 27 May 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?