Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
101 views
Hello,
I want to use radrating to show current photo rating and also allow users to rate with it. I'm not sure but it seems like onrate event is fired only when I select different value as currently displayed one. Is it possible to let user rate same value?

I've found a workaround with precision set to exact, but that's not what I want to
Thanks

Solved:
My question was answered here : Problem firing onrate event 
Sorry for bothering
Tsvetie
Telerik team
 answered on 02 Nov 2010
1 answer
125 views
Hey everyone,

I have a radgrid,that works on a button click.i have used two date pickers and according to those dates data is fetched from data base.But when i change my page size,the grid is not visible,and on clicking the button again then its visible.Is there a server side event required for page size changed?..what could be the problem?...

Thanks
Amit
Princy
Top achievements
Rank 2
 answered on 02 Nov 2010
5 answers
641 views
I am using your RadWindow control to pop up a dialog box containing an aspx page.  When the page is dismissed via an OK button, the logic closes the window and tries to create a postback to communicate the results to the calling form.

The popup form opens correctly, but when the OK button is pressed the JS logic to perform the ajax request fails with the error: "Object doesn't support this property or method."  Here is the JS code:

function

 

 

CloseRadWindowPostback(sArgument) {

 

    ctl00_ctlAjaxManager.ajaxRequest(sArgument);   // failure occurs here

 

 

    var oWindow = GetRadWindow();

 

    oWindow.close();

}

Just to be clear, the value "sArgument" is set to a string, and for the sake of testing I have eliminated the jQuery find logic, and used the clientID of the ajax manager control directly in the JS code.

The dialog form is created with a Master page containg the RadAjaxManager control, and viewing the source of the dialog form shows that the ajax manager object exits:

<script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('ctl00$ctlScriptManager', document.getElementById('aspnetForm'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls(['tctl00$ctlAjaxManagerSU'], [], [], 90);
//]]>
</script>

<!-- 2010.2.826.35 --><div id="ctl00_ctlAjaxManagerSU">
<span id="ctl00_ctlAjaxManager" style="display:none;"></span>

Why is the ajaxRequest code failing?

Fiko
Telerik team
 answered on 02 Nov 2010
2 answers
186 views
Hey everyone,

I have a radgrid in which i have used external buttons for edit and delete.I have enabled client-side row selection.How can i show an alert on edit and delete buttons click if no row is selected on client side?....

Thanks
Amit
Amit
Top achievements
Rank 1
 answered on 02 Nov 2010
2 answers
77 views
Any plans for a Pivot Grid perhaps :)

I can do them with telerik reporting, but the html report viewer just looks strange on the page...and I can't tweak and style as easy as a native telerik aspnet AJAX control
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 02 Nov 2010
3 answers
142 views
I Have a Radgrid but I am Unable to delete the Items On Runtime .There is delete option near the values but still the action does not take place. Can anyone tell me why ? Here is my Code 
  <telerik:RadGrid ID="RadGrid1" runat="server"
   AllowPaging="True" GridLines="None"
   Skin="Office2007"
   DataSourceID="AccessDataSource1" AllowAutomaticDeletes="True"
  AllowAutomaticInserts="True" AllowAutomaticUpdates="True" PageSize="8">
<MasterTableView AutoGenerateColumns="False" DataSourceID="AccessDataSource1">
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
    <Columns>
        <telerik:GridBoundColumn DataField="Name" DefaultInsertValue=""
            HeaderText="Name" SortExpression="Name" UniqueName="Name">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Email" DefaultInsertValue=""
            HeaderText="Email" SortExpression="Email" UniqueName="Email">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Details" DefaultInsertValue=""
            HeaderText="Details" SortExpression="Details" UniqueName="Details">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Place" DefaultInsertValue=""
            HeaderText="Place" SortExpression="Place" UniqueName="Place">
        </telerik:GridBoundColumn>
        <telerik:GridClientDeleteColumn ConfirmText="Are you sure you want to delete this Memeber?"
                        HeaderStyle-Width="35px" ButtonType="ImageButton" ImageUrl="Delete.gif" />
    </Columns>
</MasterTableView>
</telerik:RadGrid>
                    

<
asp:AccessDataSource ID="AccessDataSource1" runat="server"
                        DataFile="~/App_Data/admindb.mdb"
                        SelectCommand="SELECT [Name], [Email], [Details], [Place] FROM [Login]" >
                       
                    </asp:AccessDataSource>
Shinu
Top achievements
Rank 2
 answered on 02 Nov 2010
1 answer
211 views
Hi there,

Please help... I've been hitting my head on the wall for over a day on this. Searched and search but cannot find close solution...
Here is my problem.

I have a Radgrid that has a RadBinaryImage in the first cell of each row. I'm binding my grid on the clientside using json. I want to be able to change the image of the rows from clientside based on a criterion upon

ClientEvents-OnRowDataBound.

Here is my snippet:


ASPX:
-----------------

<telerik:RadGrid ID="RadReqOverview" runat="server" >
 <MasterTableView TableLayout= "Auto" EnableViewState="true">
  <Columns>
   <telerik:GridTemplateColumn HeaderStyle-Width="25px" UniqueName = "FLAG">
    <ItemTemplate>
                    <telerik:RadBinaryImage runat ="server" ID="IMGFLAG" Visible = "true" ImageUrl = "./Images/Open.png" />
    </ItemTemplate>
        </telerik:GridTemplateColumn>
  </Columns>
 </MasterTableView> 
 <ClientSettings ClientEvents-OnRowDataBound = "RowDataBound">
        <Selecting AllowRowSelect="True" />
        <Scrolling AllowScroll="True" />
 </ClientSettings>
</telerik:RadGrid>

 

Clientside(Javascript) 

 

 

---------------------------------

 

<script type="text/javascript">
           function RowDataBound(sender, args) {
           //Get handle of binaryimage for this cell upon databound
           var img = args.get_item().findControl("IMGFLAG"); //This is not working!!!!!!!!!
             if (img != null) {
                    // conditional formatting
                    // After I do my logic I want to change the image to closed
                   img.ImageUrl = "./Images/Closed.png";
               }
           }
</Script>

However this is not working!!! Please help. Thanks.

 

 

 

Monsi Lache
Top achievements
Rank 1
 answered on 02 Nov 2010
2 answers
97 views
Hi there,

I know this is simple for most of you out there, I have faith to get help.

I've designed a toolbar at design time with the following buttons:

Group ALL: with the following buttons
All

Groupt Status: with the following buttons
Open
Completed
Cancelled

I also want the following functionality:
1) When the button 'All' is checked, the buttons 'Open','Completed' and 'Cancelled' to be unchecked.
2) When any of the buttons in the 'Status' group is checked, the 'All' button to be unchecked.

Further more I want to get a handle of all 4 buttons and their checked states(bool) on the server-side(default.aspx.cs) so that I can pass true/false to the database to filter out results based on the checked states of the buttons. Please help. Here is a snippet of my design code(default.aspx):

 

 

 

 

Monsi Lache
Top achievements
Rank 1
 answered on 02 Nov 2010
3 answers
79 views
Help, Help, Help!!

I have this desktop application that tracks bug tickets that I wrote using wincontrols(VS 2005- C#) and it works very well. Now I want to create a similar application using asp.net with radcontrols.

I have a tabstrip:
-1st tab has a radgrid that displays a summary of bug tickets based on a variety of filters,
-2nd tab has various controls(textboxes, combos etc) to display ticket details of the selected record from radgrid,
-3rd tab has controls(textboxes, combos etc) to display resource details of the same record and
-4th tab has controls to display status details of the same record.

Here is what I want to happen:
1)User clicks on a ticket record in the radgrid
2)Details tab is selected
2)The id of that ticket is passed to the serverside
3)A function on the serverside receives that id, sends a custom query to the database to retrieve detailed records of the ticket.
4)Once the record has been retrieved, the information in the record is displayed and spread across controls that are on all four tabs(details tab,resource tab & status tab). 

Pls note: I want the selected records information to be populated in all the four tabs at the same time(NOT ON DEMAND!!!) so that I can click on each tab and display the data for that ticket(eg I click on the ticket details tab to view the details or click the status tab to see the status of the ticket)

I have so far managed to get the id of the ticket from the clientside when the user clicks the gridview row and able to pass it to the function on the serverside. What I cannot do is see record data in the controls on all the four tabs when I click each tab. The controls are always blank. I've ajaxified the tabstrip, by the way.

Please help.

I've attached a simple diag that shows what I want to do.


Thanks in advance,

Monsi.
Monsi Lache
Top achievements
Rank 1
 answered on 02 Nov 2010
2 answers
180 views
I have everything working for my radgrid export but need to make a small modification.  it is possible to remove the quotation marks delimiter?  see below

current:

"Trip_Number"|"PO_Number"|

desired:
Trip_Number|PO_Number|
Carlos Gonzalez
Top achievements
Rank 1
 answered on 01 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?