Click here to Skip to main content
15,887,361 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to search and show with Text Box from Access Database in VB.Net 2010? Pin
Kelven DeJaVu8-Oct-14 16:14
Kelven DeJaVu8-Oct-14 16:14 
AnswerRe: How to search and show with Text Box from Access Database in VB.Net 2010? Pin
Richard MacCutchan8-Oct-14 21:45
mveRichard MacCutchan8-Oct-14 21:45 
AnswerRe: How to search and show with Text Box from Access Database in VB.Net 2010? Pin
Maciej Los9-Oct-14 11:10
mveMaciej Los9-Oct-14 11:10 
AnswerRe: How to search and show with Text Box from Access Database in VB.Net 2010? Pin
Otekpo Emmanuel9-Oct-14 14:16
Otekpo Emmanuel9-Oct-14 14:16 
GeneralRe: How to search and show with Text Box from Access Database in VB.Net 2010? Pin
Kelven DeJaVu11-Oct-14 6:08
Kelven DeJaVu11-Oct-14 6:08 
QuestionDataAnnotations - Multiple Acceptable Values Pin
Dominick Marciano8-Oct-14 7:32
professionalDominick Marciano8-Oct-14 7:32 
AnswerRe: DataAnnotations - Multiple Acceptable Values Pin
Richard Deeming9-Oct-14 22:45
mveRichard Deeming9-Oct-14 22:45 
GeneralDroptiles Pin
KokDavy8-Oct-14 4:58
KokDavy8-Oct-14 4:58 
Hi All
I comme back with another Question.
i have followed droptiles tutorial and I would like to implement It. But I would like to display in the tile content (at the place of image) a div contening a chart. could you please help me achieve it? thanks in advance for your help!

Notice: I have around 10 of my usercontrol in the page, each one with its chart.

Sorry for my english. i hope you will understand my request.


Here is what a started
HTML
<div id="metro-sections-container" class="metro">
               <div class="metro-sections">
                   <div class="metro-section" data-bind="foreach: tiles">
                       <div class="tile">
                           <div class="tile-icon-large">
                              <%-- <img data-bind="attr: { src: icon } " />--%>
                             <%--DISPLAY MY USER CONTROL WITH ITS CONTENT IN a DIV HERE INSTEAD OF IMG --%>
                           </div>


                       </div>
                   </div>
               </div>
           </div>

and the script:
JavaScript
<script>
    function Tile(param) {
        this.label = ko.observable(param.label);
        this.count = ko.observable(param.count);
        this.icon = ko.observable(param.icon);
        this.MyuserControl = ko.observable(param.MyuserControl);
    }
    var tile1 = new Tile({
        label: "Label 1",
        count: 10,
        icon: "img/CutTheRope.png",
        MyuserControl: "What will be here?" //my usercontrol tag name is Umini
    });
    var tile2 = new Tile({
        label: "Label 2",
        count: 20,
        icon: "img/Desktop.png",
        MyuserControl: "What will be here?" //my usercontrol tag name is Umini
    });
    var tile3 = new Tile({
        label: "Label 3",
        count: 30,
        icon: "img/avatar474_2.gif",
        MyuserControl: "What will be here?" //my usercontrol tag name is Umini
    });

    function ViewModel() {
        this.tiles = ko.observableArray([]);
    }
    var viewModel = new ViewModel();
    viewModel.tiles.push(tile1);
    viewModel.tiles.push(tile2);
    viewModel.tiles.push(tile3);

    ko.applyBindings(viewModel);

    window.setInterval(function () {
        ko.utils.arrayForEach(viewModel.tiles(), function (tile) {
            tile.count(tile.count() + 1);

        });
    }, 1000);

    window.setTimeout(function () {
        viewModel.tiles.push(new Tile({
            label: "Label 3",
            count: 30,
            icon: "img/avatar474_2.gif",
             MyuserControl: "What will be here?" //my usercontrol tag name is Umini
        }));

        jQuery('.metro-section').sortable();
    }, 1000);
</script>

GeneralRe: Droptiles Pin
Tim Carmichael8-Oct-14 7:27
Tim Carmichael8-Oct-14 7:27 
QuestionCompare tables and show the difference Pin
byka8-Oct-14 2:35
byka8-Oct-14 2:35 
AnswerRe: Compare tables and show the difference Pin
Praneet Nadkar8-Oct-14 2:51
Praneet Nadkar8-Oct-14 2:51 
GeneralRe: Compare tables and show the difference Pin
byka8-Oct-14 3:08
byka8-Oct-14 3:08 
GeneralHighchart server side settings and update Pin
KokDavy6-Oct-14 13:09
KokDavy6-Oct-14 13:09 
GeneralRe: Highchart server side settings and update Pin
Dave Kreskowiak6-Oct-14 17:43
mveDave Kreskowiak6-Oct-14 17:43 
QuestionThe state value of an object ? Pin
dilkonika4-Oct-14 16:52
dilkonika4-Oct-14 16:52 
AnswerRe: The state value of an object ? Pin
Dave Kreskowiak4-Oct-14 18:53
mveDave Kreskowiak4-Oct-14 18:53 
GeneralRe: The state value of an object ? Pin
dilkonika5-Oct-14 3:39
dilkonika5-Oct-14 3:39 
GeneralRe: The state value of an object ? Pin
Dave Kreskowiak5-Oct-14 5:00
mveDave Kreskowiak5-Oct-14 5:00 
QuestionAdding records and save changes simultaneosly for 2 tables Pin
dilkonika3-Oct-14 11:04
dilkonika3-Oct-14 11:04 
AnswerRe: Adding records and save changes simultaneosly for 2 tables Pin
Eddy Vluggen3-Oct-14 12:49
professionalEddy Vluggen3-Oct-14 12:49 
AnswerRe: Adding records and save changes simultaneosly for 2 tables Pin
Eddy Vluggen6-Oct-14 9:12
professionalEddy Vluggen6-Oct-14 9:12 
Questioni want add/edit/delete access table in database on vb2010 Pin
Member 105203861-Oct-14 1:01
Member 105203861-Oct-14 1:01 
AnswerRe: i want add/edit/delete access table in database on vb2010 Pin
Richard MacCutchan1-Oct-14 4:37
mveRichard MacCutchan1-Oct-14 4:37 
SuggestionRe: i want add/edit/delete access table in database on vb2010 Pin
ZurdoDev2-Oct-14 5:00
professionalZurdoDev2-Oct-14 5:00 
QuestionMove a file according to a name inside the file itself. Pin
val566230-Sep-14 19:08
val566230-Sep-14 19:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.