Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
121 views
Hello All,

I am opening a rad window in the asp.net grid row command . It is working properly .

codebase:
in the command:
  Telerik.Web.UI.RadWindow objwindow = new Telerik.Web.UI.RadWindow();

                    objwindow.VisibleOnPageLoad = true;
                    objwindow.NavigateUrl = "~/OfferManagement/CreateCounterOffer.aspx?OfferId=" + _commandArg;
                    double heightwinc = 400;
                    double widthwinc = 900;
                    objwindow.Height = new Unit(heightwinc);
                    objwindow.Width = new Unit(widthwinc);
                    pnlradData.Controls.Add(objwindow);

in the aspx page:

<asp:Panel ID="pnlradData" runat="server"></asp:panel>


The issue is, I want to refresh the parent window after closing that  dynamically created "objwindow"(rad window) . I searched across the google but I didn't find a correct solution for it.Can I add any event? Please help me.

Thanks

Rama.M


Princy
Top achievements
Rank 2
 answered on 22 Jun 2012
1 answer
84 views
I was testing the scheduler on my local web server without problems.
After publishing it on my hosting the scheduler control looks like it's disabled: vertical scrollbar visible but disabled, clicking buttons has no effect (week, month, calendar, ...).

Looks like some setting error, but I have no idea where to start troubleshooting the issue.

Any help is appreciated

Regards

EDIT: Solution found, hoster had a different IIS version so I had to change httpHandler configuration in web.config
Plamen
Telerik team
 answered on 22 Jun 2012
1 answer
91 views
How to close grid edit form template in external button click from server side
Princy
Top achievements
Rank 2
 answered on 22 Jun 2012
3 answers
589 views

Once again, i find your documentation and demos so convoluted that I have given up trying to make any sense out it.

I am again trying to accomplish a very simple thing: make a hierarchical grid out of a simple, 2-table relational dataset.

All I wish to do is to create a simple parent-child hierachy in a RadGrid, using an ADO DataSet object containing 2 tables, with a DataRelation already added to the DataSet, which should be enough to establish a parent-child relationship.

Here is dummy code that creates the DataSet:

 

 

 

DataTable dt1 = new DataTable();

 

 

 

DataTable dt2 = new DataTable();

 

 

 

DataSet ds = new DataSet();

 

 

 

DataRow myRow;

 

 

dt1.Columns.Add(

"Period");

 

 

dt1.Columns.Add(

"Period_Name");

 

 

dt2.Columns.Add(

"Period");

 

 

dt2.Columns.Add(

"File_Name");

 

 

dt2.Columns.Add(

"Size");

 

 

 

 

myRow = dt1.NewRow();

 

myRow[

"Period"] = "60";

 

 

myRow[

"Period_Name"] = "April 2011";

 

 

dt1.Rows.Add(myRow);

 

myRow = dt1.NewRow();

 

myRow[

"Period"] = "59";

 

 

myRow[

"Period_Name"] = "March 2011";

 

 

dt1.Rows.Add(myRow);

 

myRow = dt1.NewRow();

 

myRow[

"Period"] = "58";

 

 

myRow[

"Period_Name"] = "February 2011";

 

 

dt1.Rows.Add(myRow);

 

myRow = dt1.NewRow();

 

myRow[

"Period"] = "57";

 

 

myRow[

"Period_Name"] = "January 2011";

 

 

dt1.Rows.Add(myRow);

 

myRow = dt2.NewRow();

 

myRow[

"Period"] = "60";

 

 

myRow[

"File_Name"] = "User_60_123456_1.pdf";

 

 

myRow[

"Size"] = "923324";

 

 

dt2.Rows.Add(myRow);

 

myRow = dt2.NewRow();

 

myRow[

"Period"] = "60";

 

 

myRow[

"File_Name"] = "User_60_123456_2.pdf";

 

 

myRow[

"Size"] = "433324";

 

 

dt2.Rows.Add(myRow);

 

myRow = dt2.NewRow();

 

myRow[

"Period"] = "60";

 

 

myRow[

"File_Name"] = "User_60_123456_3.pdf";

 

 

myRow[

"Size"] = "693324";

 

 

dt2.Rows.Add(myRow);

 

ds.Tables.Add(dt1);

 

ds.Tables.Add(dt2);

 

 

DataRelation dRel = new DataRelation("Period_to_PDF", ds.Tables[0].Columns["Period"],

 

 

ds.Tables[1].Columns[

"Period"]);

 

 

ds.Relations.Add(dRel);


Table #1 (dt1) is the parent DataTable, containing "periods"
Table #2 (dt2) is the child DataTable containing "files relating to a period"

Only Period #60 has child rows in dt2 in this example.

HOW DO I USE THIS DATASET TO CREATE A HIERARCHICAL RADGRID???????????????????? IS IT EVEN POSSIBLE?

I would think that simply binding it to a grid would do it, but apprently RadGrid is not very smart, since it does not recognize the DataRelation object in the DataSet    

(I yearn for the days of desktop grid control that handled all of that for you if you created a properly related dataset.




Pavlina
Telerik team
 answered on 22 Jun 2012
3 answers
106 views
Hi,
    I have an issue with radcombo. In my home page , i am using RadComo . The problem comes when i Used a Javascript in Page Load with  " document.forms[0].submit() " . After using this , combo will look like ReadOnly mode.
Pleas help...

Thanks in Advance
Jesmon Joseph
Kalina
Telerik team
 answered on 22 Jun 2012
1 answer
90 views
Hi.

I have a radwindow pop up where the user can add a new user.  

User is getting created & within my OnClientclose I am trying to rebind the dropdownlist of users & select the new one.  I have the id needed at this point but am having difficulty locating the control.  

Are there any examples of finding such objects within the EditItemTemplate?

Once I find the dropdownlist control I will need to rebind it & set the newly selected value.  


Thanks.
Marin
Telerik team
 answered on 22 Jun 2012
3 answers
103 views
Hello,

I am trying to set up a RadComboBox as follows:

<telerik:RadComboBox ID="rcbEntities" runat="server" Width="440px" Height="140px"

                                ShowToggleImage="False" EmptyMessage="Start Typing..." MinFilterLength="3" EnableLoadOnDemand="true"

                                ShowMoreResultsBox="True" EnableVirtualScrolling="True" HighlightTemplatedItems="True"

                                OnClientSelectedIndexChanged="rcbEntities_SelectedIndexChanged"

                                OnClientItemsRequested="rcbEntities_ClientItemsRequested">

                                <WebServiceSettings Method="GetEntities" Path="~/TestService.svc" />

                            </telerik:RadComboBox>


Everything works fine as long as the WCF service is in the same project as the aspx page containing the control. However, I'd like to be able to pull data from a service hosted on the same server, but under a different site in IIS, together with all the other data services in the company.

Do you have a detailed example of a simple service that is defined in a separate VS project / IIS site and is being called from a RadComboBox to perform autocomplete ?


Thanks!
Daniel
Genady Sergeev
Telerik team
 answered on 22 Jun 2012
3 answers
80 views
How to translate the "drop files here" message?

Thanks,
Martin
Plamen
Telerik team
 answered on 22 Jun 2012
3 answers
114 views
I want to access controls inside RadGrid's EditFormTemplate from page_load (not from RadGrid1_ItemDataBoundRadGrid1_UpdateCommand or any other "events" ), or something like this  ... is this possible?
Shinu
Top achievements
Rank 2
 answered on 22 Jun 2012
2 answers
129 views
Hi,

I open a RadWindow to display a Radgrid as a modal popup. The Radgrid has a GridDateTimeColumn which displays a calender picker in Insert and Edit modes. The Calender picker does not show up when the grid is placed in the RadWindow popup. It works fine when used in regular .aspx page.
Could you please help?

Thanks
Meera
Meera
Top achievements
Rank 1
 answered on 22 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?