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

I am facing very strange issue in form editing of Grid. I have one column in my grid which is combobox. I have tried different approach but not able to resolve this.

Case 1 : Grid DropDown Column

<telerik:GridDropDownColumn DataSourceID="StateDataSource" Visible="false"
                                    HeaderText="State" ListTextField="StateName" ListValueField="StateID"
                                    UniqueName="StateTestDropDown" ColumnEditorID="StateTestDropDownEditor" >
                                </telerik:GridDropDownColumn>
but in the UI, It is just showing me first row data, also i am not able to select other items. It seems disabled dropdown.

Case 2 : Grid Template Column

<telerik:GridTemplateColumn HeaderText="State" Visible="false">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container.DataItem, "StateID")%>
                                </ItemTemplate>
                                <EditItemTemplate>
                                    <telerik:RadComboBox Width="100px" ID="StateClientContactDropDown" runat="server" SelectedValue='<%#Bind("StateID") %>'
                                    DataTextField="StateName" DataValueField="StateID" DataSourceID="StateDataSource">
                                     </telerik:RadComboBox>
                                </EditItemTemplate>                         
                                </telerik:GridTemplateColumn>

Same issue with this too, It only shows first item of datasource in the disabled mode.

Please let me know what should i change for making available other values of dropdown?
Eyup
Telerik team
 answered on 05 Feb 2013
6 answers
172 views
When we have a RadMenu like this below, with the width set to 100%:

http://demos.telerik.com/aspnet-ajax/menu/examples/appearance/imageonly/defaultcs.aspx?#qsf-demo-source

how can I have a custom literal control (asp literal) sit on top of the menu bar but positioned to the far right of the menu bar? What styling/code would I need to add to set the position of the literal to be on top of the menu bar to the far right?
Kate
Telerik team
 answered on 05 Feb 2013
2 answers
92 views
I like the way the RadWindow operates in maximized mode, how it can have a header and a status bar, and latches onto the browser, so when the browser resizes so does the window (how  it get's it's own scrollbars etc...). However I haven't been having much luck using that as a basis to house other pages that might have other RadWindows in them. Is there an easy alternative to create a basic header/footer frame for my site that looks and operates similar to the RadWindow in maximized mode?

It would be great if Telerik had some sort of layout assistance control to anchor items to top/bottom left/right etc. If one exists I'm unaware of it. I know there is a dock, but from the examples it doesn't seem to be what I need...

Any advice would be appreciated.
Marin Bratanov
Telerik team
 answered on 05 Feb 2013
1 answer
64 views
Maybe I'm missing something or it just isn't possible...

Can't edit the RadRibbonBar in Design View (vs2012)... Only in the HTML code can I edit then have to run the project to see results.

Definitely not the way I want to design the bar. Other controls allow me to click the "tasks" and edit items without issue.


Thanks
Mike
Kate
Telerik team
 answered on 05 Feb 2013
1 answer
180 views
When can we expect an announcement about whether or not we are going to see a formal adoption of LESS or SASS for the ASP.NET AJAX controls?

Or did I miss it?

-- 
Stuart
Ivan Zhekov
Telerik team
 answered on 05 Feb 2013
2 answers
199 views
My Grid is stuck in edit mode after hitting Save but not Cancel.

The cause appears to be: AllowAutomaticInserts="true"

So I'm guessing the EntityDataSource has an error on save - how do I get the error?
Peter
Top achievements
Rank 1
 answered on 05 Feb 2013
1 answer
276 views
Hello Telerik!

I have my RadTreeView:

<telerik:RadTreeView runat="server" ID="TreeViewUnit"  CssClass="TreeView"
           ShowLineImages="False" Skin="Forest"

    OnDataBound="TreeViewUnit_DataBound"
    OnNodeClick="TreeViewUnit_NodeClick"
          
meta:resourcekey="TreeViewUnitResource1">

And I have binding in code behind where I set two attributes:
item.Attributes["Item"] = "Unit";
or
item.Attributes["Item"] = "Respondent";


Also I set node images in code behind and it's bad.
item.ImageUrl = imageFolder + "folder-icon.png";
node.ImageUrl = imageFolder +
"profile_icon.png";


So I want to do it right way in order to reduce traffic and use CSS for node image.
I tried:

.RadTreeView .rtImg {
    background-image: url("/Styles/images/plusminus_icon.png") !important;
}
.RadTreeView_Forest .rtImg {
    background-image: url("/Styles/images/profile_icon.png") !important;
}


but it does not work.

For example:
.RadTreeView_Forest .rtPlus, .RadTreeView_Forest .rtMinus {
    background-image: url("/Styles/images/plusminus_icon.png") !important;
}


works perfectly fine for minus sign images.


Any ideas how can I do it? And It will be great if there was a way to select image depending on node attribute. I think I can manage to do it using javascript and DOM elements, but adding images using CSS still a question.
Thanks)





Vitalii
Top achievements
Rank 1
 answered on 05 Feb 2013
2 answers
142 views
Hello Telerik, I am trying to align title position by this example.
Here is my chart.

And code
<ChartTitle>
    <
Appearance Dimensions-Margins="4%; 10px; 14px; 8%" Position-AlignedPosition="TopLeft">
    </
Appearance>
   
<TextBlock Text="">
        <
Appearance TextProperties-Font="Arial, 18px" TextProperties-Color="#000000">
        </
Appearance>
    </
TextBlock>
</
ChartTitle>

And I tried like this:

<Appearance Dimensions-Margins="0px; 0px; 0px; 0px"  Position-AlignedPosition="TopLeft">
</Appearance>

Does not work ether. What can it be?

When I delete appearence and textblock I have next image.

How can I align char title to the left?
Vitalii
Top achievements
Rank 1
 answered on 05 Feb 2013
4 answers
162 views
I have a requirement to use a DetailsView control to display a shedload of data, more than can reasonably be displayed in the available screen real estate.

So, I thought, "I'll use a TabStrip and split the data up". But, and this is where I wanted some input, would the best option be to:
  1. Put multiple DetailsView controls in my control; one per PageView with different sets of TemplateFields in each DetailsView control, or
  2. Try and put a TabStrip/MultiPage control inside a single DetailsView?

I have to admit to having tried neither of the options I just wondered if anyone had had a similar requirement and had some thoughts about which route to take.

TIA,

-- 
Stuart
asimptota
Top achievements
Rank 1
 answered on 05 Feb 2013
1 answer
90 views
Hello,

Is it possible to add a drag handle to a RadScheduler so it can be dynamically resized by the user?

If so, please provide a code sample.

Thank You!
Plamen
Telerik team
 answered on 05 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?