Hi ,
I have a tab strip with five "li" tags.Two tabs contains grids in it.The last tab which is also having the grid is not loading as it is not hitting the "onTabSelect" function.
All other tabs are hitting this function but last one does not.This is happening only in Microsoft Edge Browser.
function onTabSelect(e) {
$("#load").text("Loading ...");
uncheckedSelectedTab();
if (e.item.innerText == "ABC") {
Method1();
} //Added for 105423 - end
else if (e.item.innerText == "DEF") {
Method2();
}
else if (e.item.innerText == "PQR") {
Method3();
}
.....
}
Please help.
Regards,
Sandhya.
I need to add an image icon in GridColumnGroup near the column text.
Is there a way to add it?
Hi Team,
I am facing a issue in RadGrid, when EditMode="Batch",BatchEditingSettings-EditType="Cell" BatchEditingSettings-OpenEditingEvent="Click".
If I have result of 10 rows, I click on a cell in a columns and I need to choose a value from dropdown, but I do not select any value and click on another cell in same column, then I receive a Error : Unable to get property 'replace' of undefined or null reference with below reference.
b.RadComboBox.htmlDecode=function(c){return b.RadComboBox.replace(c,{"<":"<",">":">",""":'"',"&":"&"});
};
b.RadComboBox.htmlEncode=function(c){return b.RadComboBox.replace(c,{"&":"&","<":"<",">":">"});
};
b.RadComboBox.isIEDocumentMode8=function(){return document.documentMode&&document.documentMode==8;
};
b.RadComboBox.replace=function(e,d){for(var c in d){e=e.replace(new RegExp(c,"g"),d[c]);
Can you please help me on this.
~
Sandeep
Hi All,
I'm using the selectedindexchanged of one of my Drop down lists to populate another ddl.
It's populating the ddl with with the data i want. However when i want to use the newly populated ddl value/text for a insert/update. It only updates/inserts as a blank value.
i know this has something to do with my Data Biding, but i can't seem to get the ddl to bind.
Code Used to populate the ddl:
protected void RadDropDownList3_SelectedIndexChanged(object sender, DropDownListEventArgs e)
{
RadDropDownList DropDownList3 = ((RadDropDownList)((RadDropDownList)sender).Parent.FindControl("RadDropDownList3"));
RadDropDownList DropDownList2 = ((RadDropDownList)((RadDropDownList)sender).Parent.FindControl("RadDropDownList2"));
DropDownList2.DataSourceID = null;
DropDownList2.DataSource = null;
DropDownList2.Items.Clear();
string prinparam = DropDownList3.SelectedText;
string strqry = string.Format(@"select distinct locationfullname from D_Location where DivisionName = '" + prinparam + "' ORDER BY 1 ;", prinparam);
DataTable dt = new DataTable();
using (strcon)
{
var command = new SqlCommand(strqry, strcon);
SqlDataAdapter da = new SqlDataAdapter(strqry, strcon);
strcon.Open();
DataSet ds = new DataSet();
da.Fill(dt);
DropDownList2.Items.Clear();
foreach (DataRow dr in dt.Rows)
{
DropDownList2.Items.Add(dr[0].ToString());
}
}
DropDownList2.DataBind();
DropDownList2.SelectedValue = DropDownList2.SelectedText;
}
Hi,
the only way I found to show the fields window is the Context Menu.
I know how to do this - but it is not very easy for my clients. First they aren't used to right click on a web page (except for browser commands) and second they even have no idea what's possible.
So having a simple "Fields List" button would be great - a State-Button (Checkbox) would be the best.
Is this possible?
Manfred
Hi there;
I’m tryring to create a radGrid with data from database
What I want to do that I already convert some rows to columns in the database query:
SELECT Z.id , WR. NAME,
NVL(MAX(DECODE (Z.ZONE , 'A', Z.n )),0) A,
NVL(MAX(DECODE ( Z.ZONE , 'B', Z.n )),0)B,
NVL(MAX(DECODE ( Z.ZONE , 'M', Z.n )),0) M
FROM ………………
And I need to publish this data in a radgrid
What is the problem?
That this columns actually change over time, so I can’t keep them static
My idea is to loop through this values(A,B,M,….) in c# code-behind and convert them to columns in a command string ? Is it possible to do so?
From your documentation and also some posts here I noticed that "binding to IQueryable" can be use enhance performance.
Here for an example http://www.telerik.com/forums/enablecaching-=-true-causing-pivotgrid-to-remain-empty#lN8o0P-F3UKixSLep-_wbw you link
to this documentation entry
http://docs.telerik.com/devtools/aspnet-ajax/controls/pivotgrid/data-binding/advanced-via-needdatasource
What I see there is that it all ends up with a "select everything from a table" - "SELECT * FROM Transportation"
What I EXPECT is a select statement which "fits my needs".
I know sometimes there is a need to select all data.
But (for an example) if I filter for Transportation Items which happend in the year 2010 and have a value bigger than 10.000 I would expect a query like
"SELECT * FROM Transportation WHERE TPYear = 2010 AND TPValue>10.000"
Did I miss something?
By the way - I also tried to use an "EntityDatasource" (using EF6) - which does the same - SELECT * FROM....
No filtering on the query occures.
On last thing - in the first linked post the question contains: .... We are running on a decently large initial result set (about 3000 records) ....
This is not (in our case) what I'd call "large" - consider the query product of (only) 1000 sales per day with articels, regions,.. for (only) 3 years.
Which also makes the star in the select questionable - why select * if I only want to know ID and quantity (for an example).
Am I thinking totaly wrong - or is there something I've overseen?
Manfred
When the RadGrid control does not have its Pager, Footer, etc. elements enabled, you can come across this issue using the following method:
Uncaught TypeError: Cannot read property
'rows'
of
null
This issue should be fixed with the Latest Internal Build 2016.3.927.