Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
87 views
Hi,

I try to use the demo
http://demos.telerik.com/aspnet-ajax/slider/examples/customscrollbar/defaultcs.aspx

And rebuild the JavaScript so that I can jump to anchors in the <DIV> which scrolls

I can locate the y-coords of the anchor, but I cannot accomplish the right value setting of the RadSlider in javascript.
I try to jump to the anchors from RadTreeView clicks on the client.

Can somebody help?

Marc
Slav
Telerik team
 answered on 06 Dec 2011
1 answer
100 views
My scenario:
aspx containing ascx(1)
ascx(1) containg ascx(2)

ascx(2) raise an event. ascx(1) catch it and has to open a radWindow that is own by itself.
Some values have to be passed to radwindow navigateUrl depending on the selected row grid of ascx(1)

Is there a way to do it?
Thank you
Marin Bratanov
Telerik team
 answered on 06 Dec 2011
3 answers
94 views
Good Morning!
I have the following scenario!...

I have a Security Level Grid with delete Button.
Delete Button have 2 ways:
1- If Security level hasn't users associated --> Show normal Windows ("remove this security level? Yes/No")
2- If Security level has users associated --> i need show other with with ComboBox (To assign these users to another security Level)

I dont Kwon how do Item 2.

Can you Help me¿?

July
Top achievements
Rank 2
 answered on 06 Dec 2011
1 answer
59 views
Hi,

I have a radwindowmanager in masterpage which contains the several windows & confirm template.

Now I want to implement the close on Esc button functionality  for confirm template only & not for other windows.

Is there any way other than taking multiple radwindowmanager as everytime I call radopen/radconfirm method ,I will have to call it on that particular radwindowmanager instance only.

Regards,
Suraj Patil.
Marin Bratanov
Telerik team
 answered on 06 Dec 2011
3 answers
558 views
Hi there,

I have a situation and actually I can explain it using one of your examples. 
I am using a page like this;
http://demos.telerik.com/aspnet-ajax/window/examples/contenttemplatevsnavigateurl/defaultcs.aspx

My code uses the contenttemplate version and there is a small form with in the radwindow. Then the save button is clicked it does a postback from codebehind like in your example. What I want to do is when I click the save button I want to call a function in the parent page which runs some code and updates one of the 3 grids on the page and I want to do this using ajax without refreshing the whole parent page. 

However even if I use the ajaxmanager or the ajaxpanel I can open the radwindow via ajax but the save button always does a postback and make the whole parent page refresh (behaves like in your example code)

How can I do the postback via ajax from the radwindow (using contenttemplate) without refreshing the whole parent page?

thanks
Deniz
Marin Bratanov
Telerik team
 answered on 06 Dec 2011
3 answers
117 views
I'm trying to hide a bunch of columns and display a bunch of columns when clicking print.  However, it appears that if the item is visible = false then it does not have an index and therefore I can't use showcolumn.  Anyone know a way around this? 

MasterTable.showColumn("0");
<Columns>
    <telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn column" 
        UniqueName="PrintColumn" Visible="False" >
        <ItemTemplate>
Antonio Stoilkov
Telerik team
 answered on 06 Dec 2011
2 answers
132 views
I need to begin the treelist with all nodes expanded, and then allow to expand/collapse as needed. I use NeedDataSource for the expand collapse, but the list starts off collapsed by default and I can't use ExpandAllItems() because I'm assuming it used a type of databind method that won't work with the NeedDataSource event. Is there a way to accomplish what I need?

Thanks, 

Derek
Derek
Top achievements
Rank 1
 answered on 06 Dec 2011
4 answers
242 views
I have the following Rad Grid.  There is a Critical Checkbox and a set of radio buttons.  If the user Checks the checkbox I would like it to change the radio button to Failed.  Is this possible?

    <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1"
        GridLines="None">
<MasterTableView AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
<CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
 
    <Columns>
        <telerik:GridTemplateColumn DataField="Step" HeaderText="Step"
            SortExpression="Step" UniqueName="Step">
            <EditItemTemplate>
                <asp:TextBox ID="StepTextBox" runat="server" Text='<%# Bind("Step") %>'></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="StepLabel" runat="server" Text='<%# SetStepLevel(Eval("Step"),Eval("StepLevel")) %>'></asp:Label>
                <asp:HiddenField ID="ARQADID" runat="server" Value='<%# Eval("ARQADID") %>' />
                <asp:HiddenField ID="iUserID" runat="server" Value='<%# Eval("iUserID") %>' />
                <asp:HiddenField ID="iIssueID" runat="server" Value='<%# Eval("iIssueID") %>' />
                <asp:HiddenField ID="DateEntered" runat="server" Value='<%# Eval("DateEntered") %>' />
            </ItemTemplate>
        </telerik:GridTemplateColumn>
        <telerik:GridTemplateColumn DataField="Critical" DataType="System.Int32"
            HeaderText="Critical" SortExpression="Critical" UniqueName="Critical">
            <EditItemTemplate>
                <asp:TextBox ID="CriticalTextBox" runat="server" Text='<%# Bind("Critical") %>'></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:CheckBox ID="CriticalCheckBox" runat="server" Checked='<%# Eval("Critical") %>' Visible='<%# Eval("Evaluate") %>' />
            </ItemTemplate>
            <FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center"
                Wrap="True" />
            <HeaderStyle Width="50px" Font-Bold="False" Font-Italic="False"
                Font-Overline="False" Font-Strikeout="False" Font-Underline="False"
                HorizontalAlign="Center" Wrap="True" />
            <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center"
                Wrap="True" />
        </telerik:GridTemplateColumn>
        <telerik:GridTemplateColumn DataField="Pass" DataType="System.Int32"
            HeaderText="Pass" SortExpression="Pass" UniqueName="Pass">
            <EditItemTemplate>
                <asp:TextBox ID="PassTextBox" runat="server" Text='<%# Bind("Pass") %>'></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:RadioButton ID="PassRadioButton" GroupName="PassFailNA" runat="server" Checked='<%# Eval("Pass") %>' Visible='<%# Eval("Evaluate") %>'/>
            </ItemTemplate>
            <FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center"
                Wrap="True" />
            <HeaderStyle Width="50px" Font-Bold="False" Font-Italic="False"
                Font-Overline="False" Font-Strikeout="False" Font-Underline="False"
                HorizontalAlign="Center" Wrap="True" />
            <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center"
                Wrap="True" />
        </telerik:GridTemplateColumn>
        <telerik:GridTemplateColumn DataField="Fail" DataType="System.Int32"
            HeaderText="Fail" SortExpression="Fail" UniqueName="Fail">
            <EditItemTemplate>
                <asp:TextBox ID="FailTextBox" runat="server" Text='<%# Bind("Fail") %>'></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:RadioButton ID="FailRadioButton" GroupName="PassFailNA" runat="server" Checked='<%# Eval("Fail") %>' Visible='<%# Eval("Evaluate") %>'/>
            </ItemTemplate>
            <FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center"
                Wrap="True" />
            <HeaderStyle Width="50px" Font-Bold="False" Font-Italic="False"
                Font-Overline="False" Font-Strikeout="False" Font-Underline="False"
                HorizontalAlign="Center" Wrap="True" />
            <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center"
                Wrap="True" />
        </telerik:GridTemplateColumn>
        <telerik:GridTemplateColumn DataField="NA" DataType="System.Int32"
            HeaderText="NA" SortExpression="NA" UniqueName="NA">
            <EditItemTemplate>
                <asp:TextBox ID="NATextBox" runat="server" Text='<%# Bind("NA") %>'></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:RadioButton ID="NARadioButton" GroupName="PassFailNA" runat="server" Checked='<%# Eval("NA") %>' Visible='<%# Eval("Evaluate") %>'/>
            </ItemTemplate>
            <FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center"
                Wrap="True" />
            <HeaderStyle Width="50px" Font-Bold="False" Font-Italic="False"
                Font-Overline="False" Font-Strikeout="False" Font-Underline="False"
                HorizontalAlign="Center" Wrap="True" />
            <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center"
                Wrap="True" />
        </telerik:GridTemplateColumn>
        <telerik:GridTemplateColumn DataField="Notes" HeaderText="Notes"
            SortExpression="Notes" UniqueName="Notes">
            <EditItemTemplate>
                <asp:TextBox ID="NotesTextBox" runat="server" Text='<%# Bind("Notes") %>'></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:TextBox ID="NotesTextBox" runat="server" TextMode="Multiline"  Rows="2" Columns="30" Text='<%# Bind("Notes") %>' Visible='<%# Eval("Evaluate") %>'></asp:TextBox>
            </ItemTemplate>
        </telerik:GridTemplateColumn>
    </Columns>
</MasterTableView>
    </telerik:RadGrid>
Ryan
Top achievements
Rank 1
 answered on 06 Dec 2011
3 answers
202 views
Hi,

I have a masked text box with mask '<0..3><0..3><0..3>' which displays as '000' when empty. Is it possible to have an empty text box or one which displays '___' instead?

For example:

Empty: '___'
Partially filled: '12_'
Filled: '123' 


Thanks
Vasil
Telerik team
 answered on 06 Dec 2011
3 answers
94 views
As in the topic - I have both events subscribed and I want to prevent NodeClick from happening when double click occurs, how can I do that?
Bozhidar
Telerik team
 answered on 06 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?