Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
163 views

HI 
I’m trying to determine the column of a cell. 

I have a _ItemDataBound event in my code where I change the color of the cell based of the value (.text) …no big deal.
But now I need to determine in which column a cell is. Because I need to call a stored procedure to get some additional values, but I just need to do that for all rows of one column and not for all of them. 
How can I determine if a cell is in the column where I have to call the procedure? 
Thanks for any hint

Best regards
Dennis 


Dennis
Top achievements
Rank 1
 answered on 06 Aug 2015
3 answers
133 views

Hi

I am trying to get the reference of a link button from a template column based the row index. Ideally upon getting the control i want to call the custom command associated with that button on that row. Can you please let me know how to achieve this in the below code.

 

var row = $find("<%=rgmyGrid.ClientID %>").get_masterTableView().get_dataItems()[rowIndex];
     var   lnkBtn=   row.findcontrol("lBtnMyLinkButton")
        lnkBtn.fireCommand("ReleaseORTakeControl");​

Eyup
Telerik team
 answered on 06 Aug 2015
3 answers
97 views
my chart has open end on right side.
how can I tell it to close the plot area?
Vessy
Telerik team
 answered on 06 Aug 2015
0 answers
118 views
In web application, the kendo tab strip loads all the tabs along with their contents on an ASPX page. Each tab loads IFRAME and IFRAME has dynamic URLs(src). To optimize, I need to load kendo tab content only after selecting a tab. Please suggest.
Rahul
Top achievements
Rank 1
 asked on 06 Aug 2015
1 answer
48 views

We have custom inline editable grid, on button postback populating rad grid with some text box and label's, till 149 records in grid everything working fine, but on 150th record page is throwing error on hosting environment, error is sys.WebForms.PageRequestMangerServerErrorException, returning code 500. Please suggest if anyone have any idea

Pavlina
Telerik team
 answered on 06 Aug 2015
1 answer
94 views
We have RadGrid with custome inline edit behavior, on button postback populating grid with some textbox's and label's, till 149 records everything is ok but for 150th record it throwing error on hosting environment, sys.WebForms.PageRequestManagerServerErrorException, return 500.Please suggest if any one have any idea about.
Pavlina
Telerik team
 answered on 06 Aug 2015
5 answers
170 views

Hello Telerik team.

I'm using Telerik 2014.1.403.40 version.

It looks  today of speicalday property time is depends on server time.

 My PC location timezone is UTC +09:00 (Seoul)

and Web Serv timezone is  UTC  -08:00 Pacific Time (US&Canada).

When I open the Dateopicker popup, today marked 7/28 but actual today is 7/29.

I would like to set today time correctly.

 Here's my code

01.<telerik:RadDatePicker ID="RadDatePickerDateFrom" runat="server" Calendar-FastNavigationStep="12" Calendar-ShowRowHeaders="false" Width="100%" TabIndex="12">
02.    <Calendar ID="CalendarDateFrom" runat="server">
03.        <FastNavigationSettings EnableTodayButtonSelection="true" />
04.            <SpecialDays>
05.                <telerik:RadCalendarDay Repeatable="Today" ItemStyle-BackColor="Yellow" />
06.            </SpecialDays>
07.    </Calendar>
08.    <DateInput AutoCompleteType="Disabled" ID="DateInputDateFrom" runat="server" DateFormat="M/d/yyyy" SelectionOnFocus="SelectAll" />
09.</telerik:RadDatePicker>

Maria Ilieva
Telerik team
 answered on 06 Aug 2015
30 answers
352 views
Hello

I want to know how I can delete the image attached in a forum post.
Pavlina
Telerik team
 answered on 06 Aug 2015
1 answer
128 views

I have a RadGrid with a HyperLink column and using Paging.

When a user clicks on the Hyperlink column, they will be directed to another ASP.Net page that displays all the detailed data for that record.  On that page, there is a button for them to click on to bring them back to the page with the RadGrid on it.  When the user clicks on the button and brought back to the page with the RadGrid, the RadGrid starts back at page 1 no matter what page the user was on before.

I need it to remember the page number when they click on the HyperLink column and then when the user clicks on the button to bring them back to the page with the RadGrid on it, the RadGrid will be reloaded and set to the page number they came from. 

How to do that?

Here is how my RadGrid is:

        <telerik:RadGrid ID="rgEDILog" runat="server" GroupPanelPosition="Top" Height="326px" Width="950px" AutoGenerateColumns="False" AllowPaging="True" PageSize="2000">
            <ExportSettings>
                <Pdf AllowPrinting="False">
                </Pdf>
            </ExportSettings>
            <ClientSettings>
                <Selecting AllowRowSelect="True" />
                <Scrolling AllowScroll="True" UseStaticHeaders="True" />
                
            </ClientSettings>
            <MasterTableView>
                <CommandItemSettings ShowAddNewRecordButton="False" ShowRefreshButton="False" />
                <Columns>
                    <telerik:GridHyperLinkColumn AllowSorting="False" DataTextField="EDI_KEY" FilterControlAltText="Filter column7 column" HeaderText="EDI Key" UniqueName="column7" DataNavigateUrlFields="EDI_KEY,SERIAL_NO,TRACKING_NO,SUPPLIER_CODE,MILL_COIL_NO,MAILBOX_NAME,EDI_ACTION,ENTRY_DATE" DataNavigateUrlFormatString="CustomReports9b?EDI_KEY={0}&SERIAL_NO={1}&TRACKING_NO={2}&SUPPLIER_CODE={3}&MILL_COIL_NO={4}&MAILBOX_NAME={5}&EDI_ACTION={6}&ENTRY_DATE={7}">
                    </telerik:GridHyperLinkColumn>
                    <telerik:GridBoundColumn DataField="SERIAL_NO" FilterControlAltText="Filter column column" HeaderText="Serial No." ReadOnly="True" UniqueName="column">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="TRACKING_NO" FilterControlAltText="Filter column1 column" HeaderText="Tracking No." ReadOnly="True" UniqueName="column1">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="SUPPLIER_CODE" FilterControlAltText="Filter column2 column" HeaderText="Supplier Code" ReadOnly="True" UniqueName="column2">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="MILL_COIL_NO" FilterControlAltText="Filter column3 column" HeaderText="Mill Coil No." ReadOnly="True" UniqueName="column3">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="MAILBOX_NAME" FilterControlAltText="Filter column4 column" HeaderText="Mailbox Name" ReadOnly="True" UniqueName="column4">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="DOC_NAME" FilterControlAltText="Filter column5 column" HeaderText="Doc Name" ReadOnly="True" UniqueName="column5">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="EDI_ACTION" FilterControlAltText="Filter column6 column" HeaderText="EDI Action" ReadOnly="True" UniqueName="column6">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="FIRST_COMM_DATE" FilterControlAltText="Filter column7 column" HeaderText="First Comm Date" ReadOnly="True" UniqueName="column7">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="ENTRY_DATE" FilterControlAltText="Filter column8 column" HeaderText="Entry Date" ReadOnly="True" UniqueName="column8">
                    </telerik:GridBoundColumn>
                </Columns>
            </MasterTableView>
            <PagerStyle Mode="NextPrevNumericAndAdvanced" />
        </telerik:RadGrid>

Eyup
Telerik team
 answered on 06 Aug 2015
2 answers
128 views

Hi All,

 

I have an issue with a RadWindow. It's got a RadTabStrip and a RadMultiPage on it.

On changing the Tab, I postback, and reload the window using :-

 

radWindow.Visible = True
Dim script As String = "function f(){$find(""" + radWindow.ClientID & """).show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);"
ScriptManager.RegisterStartupScript(Me, Me.[GetType](), "key", script, True)

 

This works most of the time, but occasionally I get the following error (happens more on the WebSever vs Localhost) :-

 

<script type="text/javascript">
//<![CDATA[
function f(){$find("radWindow").show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);
document.getElementById('vcmValidationSummary').dispose = function() {
    Array.remove(Page_ValidationSummaries, document.getElementById('vcmValidationSummary'));
}
//]]>
</script>

 

And the Error is "Microsoft JScrips runtime error: Unable to get value of the property 'show'; object is null or undefined".

It's as if the RadWindow hasn't been loaded. Any ideas where I'm going wrong?

Eyup
Telerik team
 answered on 06 Aug 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?