Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
188 views
Hi,

I use linqdatasource to show data in grid

  <asp:LinqDataSource ID="ldsDocument" runat="server" ContextTypeName="DataClassesDataContext"
                                        TableName="qry_Data_Docs" AutoPage="False">
                                              </asp:LinqDataSource>
                                             
I update data using popup window. After update grid show only old data. When i refresh page its show only old data. But database has updated data. Why that?

lakmal



lakmal
Top achievements
Rank 2
 answered on 17 Sep 2009
2 answers
44 views
We developed our web application wtih Q2 2009.  Because of external pressure, we have to revert to Q1 2009.  That caused our splitters to duplicate on the page.  When one closes, the duplicate splitter opens on the bottom of the page.  Is this an issue that was fixed in Q2 or is there something else we have to do after reverting to the older version?
Mark
Top achievements
Rank 1
 answered on 17 Sep 2009
5 answers
259 views
Hi ,

I would like to know how to force my Detail Grids to expand & show immediately after the MasterTable gets databound.
i.e. not having to click on the expand icon on the mastergrid after it binds and renders.

I am using the Need DataSource event for the Master and DetailTableDataBind Events  and the MasterTables "DataBound" event
eg 

protected

 

void grvSchedule_DetailTableDataBind(object source, GridDetailTableDataBindEventArgs e)

 

{

 

 

switch (e.DetailTableView.Name)

 

{

 

 

case "ClientSchedDetl":

 

{

DoClientSchedDetailsGrid(e);

 

 

break;

 

}

 

 

case "grvAnimalDetl":

 

{

e.DetailTableView.DataSource =

L_Animals.

 

SchedAnimals.GetSheduleAnimals(SchedID);

 

 

 

break;

 

}

}

}

 

protected

 

 

void grvSchedule_DataBound(object sender, EventArgs e)

 

{

grvSchedules.MasterTableView.DetailTables[0].DataBind();

 

//ClientSchedDetl

 

 

 

 

 

 

grvSchedules.MasterTableView.DetailTables[1].DataBind();

 

//grvAnimalDetl

 

 

 

 

 

 

 

}

 

 

I am exporting the lot to PDF,  but am trying to give the user a "Preview" screen, showing all detailgrids etc, prior to actually exporting to PDF, without the need for them clicking the "Grid s Expand button
i am using vers. 2009.1

I have noticed (no paging implemented), that any further pages basically the 2nd of my detail grids does not show on the form either,
Can i show it all in one page? i.e. not need to put paging in?


Thanks
Neal

 

Raam Nandan
Top achievements
Rank 1
 answered on 17 Sep 2009
3 answers
345 views
Hello guys,

I have one Sharepoint site where I have pages with Rad Controls, when we start to develop that site we used the Sunset skin for our controls, that skin was setted on the web.config according with the Skin registration article. Now, our customer is asking us to change that Skin with one personalized but according with the Using skins in ASP.NET themes article, if we register one skin that is not embedded, we need to find all of the Rad Controls and set the EnableEmbeddedSkins property to false in order to avoid one Exception. Because we have a big amount of Rad Controls, do you know another way to set this property through the web.config file?.

Thanks for your reply.
Dimo
Telerik team
 answered on 17 Sep 2009
2 answers
106 views
Hi there,

I just have one more problem, at least I hope so.....

When I click on an item, I change the backcolor of the item and the backcolor of the Label in the item as well. This works well.
Unfortunately, after the first rotation, all labels seem to have a strange font. I googled this and found out, I have to set the backcolor of the label to transparent. When I do this, the text looks clear. Although the item I want to mark as "selcted" by changing the color to orange stays transparent. I can't change the color again.

Is there an opportunity to set all labels to white (for the clear font) but still to be able to change the backcolor of an particular item and label?

Thanks in advance
Fiko
Telerik team
 answered on 17 Sep 2009
5 answers
108 views
Hi there,

I am using an editable radgrid using a form template (EditFormType="Template") . During adding of new row, right after Insert link button is clicked, the edit form (in updated mode) is displayed by default to allow the user to edit the row that was just inserted. If I am going to supress this default, how should I do it? Such that after inserting a new row, the edit form (in update mode ) should not be displayed. It should only be displayed when Add new row (InitInsert) or Edit (Update) link is clicked.

Thanks in advance.

Jun
Sebastian
Telerik team
 answered on 17 Sep 2009
1 answer
135 views
I am able to do this with 2009 Q1

 

string strMessage = "Do you want to add items now?";

 

JS =

" Sys.Application.add_init(CRInit);";

 

JS +=

" function CRInit(){ Sys.Application.add_load(SRRunOnce);}";

 

JS +=

" function SRRunOnce(){ showConfirmation(); Sys.Application.remove_load(SRRunOnce);}";

 

JS +=

" function GetRadWindow1(){";

 

JS +=

" var oWindow = null;";

 

JS +=

" if (window.radWindow) oWindow = window.radWindow;";

 

JS +=

" else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;";

 

JS +=

" return oWindow;";

 

JS +=

"}";

 

JS +=

" function showConfirmation(){";

 

JS +=

" function CallBackFn(arg){";

 

JS +=

" var oWindow = GetRadWindow1();";

 

JS +=

" if (arg == 'Yes'){";

 

JS +=

" window.location = 'ComponentReworkPackSlipItemDetail.aspx?R=Y&A=A&pid=" + oPackingSlip.PackingSlipReworkId.ToString() + "';";

 

JS +=

" }";

 

JS +=

" else {";

 

JS +=

" oWindow.Close();";

 

JS +=

" oWindow.BrowserWindow.refreshGridAndLocate(" + oPackingSlip.PackingSlipReworkId.ToString() + ");";

 

JS +=

"}";

 

JS +=

"}";

 

JS +=

" radconfirm('" + strMessage + "', CallBackFn, 530, 100, null, 'Confirm Add Item');";

 

JS +=

"}";

 

 

ScriptManager.RegisterStartupScript(Page, this.Page.GetType(), key, JS, true);

 

}


After user click a button to update to database, the page will prompt user to determine whether add line item now. The above works fine.

However, when updating to 2009Q2, the code is no longer work with JS error message of "object doesn't support this property or method".

Please advice how to resolve this.
Fiko
Telerik team
 answered on 17 Sep 2009
1 answer
95 views
Hello,
   I need to know a way to get an Empty Message, such as are used in Combo Boxes in conjunction with RadTreeView.  I guess it involves using Javascript to populate the RadComboBox.
How do you use OnClientDropDownOpenedHandler to populate the ComboBox that does not have a RadTreeView as a datasource?


Thanks
Simon
Telerik team
 answered on 17 Sep 2009
3 answers
464 views
Hi,
 
I have a radtree which I want to delete nodes on the click of a context menu. Here is what my treeview looks like:

...item1     ----> on right click of this node i have a context menu with the option "Clear"
......item1.1
......item1.2
.........item1.2.1
...item2
...item3

Once the "Clear" option is pressed i would like the tree to delete all the nodes under "item1". Leaving the RadTree looking like the following:

...item1
...item2
...item3

How would i do this?
Thanks
Mouse
Top achievements
Rank 1
 answered on 17 Sep 2009
1 answer
99 views
Hello,

I couldn't export recurring events. The following article says that "http://www.telerik.com/products/aspnet-ajax/whats-new/release-history/q1-2008-sp2-version-2008-1-619.aspx", "iCalendar export now correctly exports recurring appointments".

So, I assumed that I can use the same "ExportToICalendar" static method to export the recurring events to a ".ics" file. But I am getting an error "Cannot export appointments with hourly recurrence in outlook compatible mode".

Is there any other method, which could use to export recurring events?


Thank you,
Deepa
Peter
Telerik team
 answered on 17 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?