Click here to Skip to main content
14,206,970 members

Web Development

 
GeneralRe: MVC5 validation decoration Pin
malkovich198823-Apr-19 5:08
membermalkovich198823-Apr-19 5:08 
QuestionIs there a basic HTML scripts bundle for VS code and none serve application? Pin
maze327-Mar-19 5:05
professionalmaze327-Mar-19 5:05 
AnswerRe: Is there a basic HTML scripts bundle for VS code and none serve application? Pin
Shmuel Zang28-Mar-19 4:08
memberShmuel Zang28-Mar-19 4:08 
AnswerRe: Is there a basic HTML scripts bundle for VS code and none serve application? Pin
Richard MacCutchan28-Mar-19 5:02
protectorRichard MacCutchan28-Mar-19 5:02 
QuestionExperimenting Pin
Member 1419652225-Mar-19 20:42
memberMember 1419652225-Mar-19 20:42 
AnswerRe: Experimenting Pin
maze327-Mar-19 5:14
professionalmaze327-Mar-19 5:14 
QuestionCopy and Paste to aspx GridView Pin
Wayne Hollier20-Mar-19 1:30
memberWayne Hollier20-Mar-19 1:30 
AnswerRe: Copy and Paste to aspx GridView Pin
Richard Deeming20-Mar-19 13:02
mveRichard Deeming20-Mar-19 13:02 
Assuming you've set the GridView up so that every cell contains a textbox, you can use Javascript to handle the paste:
Copy and paste from excel spreadsheet into HTML table with cloned rows using Javascript? - Stack Overflow[^]
$('<%= YourGridView.ClientID %>').on('paste', 'input', function(e){
    var $this = $(this);
    $.each(e.originalEvent.clipboardData.items, function(i, v){
        if (v.type === 'text/plain'){
            v.getAsString(function(text){
                var x = $this.closest('td').index(), y = $this.closest('tr').index();
                text = text.trim('\r\n');
                $.each(text.split('\r\n'), function(i2, v2){
                    $.each(v2.split('\t'), function(i3, v3){
                        var row = y + i2, col = x + i3;
                        $this.closest('table').find('tr:eq('+row+') td:eq('+col+') input').val(v3);
                    });
                });
            });
        }
    });
    
    return false;
});




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: Copy and Paste to aspx GridView Pin
Wayne Hollier22-Mar-19 1:12
memberWayne Hollier22-Mar-19 1:12 
QuestionNo action was found on the controller Pin
Kevin Marois18-Mar-19 15:16
professionalKevin Marois18-Mar-19 15:16 
AnswerRe: No action was found on the controller Pin
Richard Deeming19-Mar-19 2:16
mveRichard Deeming19-Mar-19 2:16 
QuestionTemplate engine (Ejs) Pin
Member 1418486016-Mar-19 20:43
memberMember 1418486016-Mar-19 20:43 
QuestionHosting WebAPI OnServer Pin
Kevin Marois12-Mar-19 14:09
professionalKevin Marois12-Mar-19 14:09 
AnswerRe: Hosting WebAPI OnServer Pin
Nathan Minier18-Mar-19 1:55
professionalNathan Minier18-Mar-19 1:55 
QuestionWhy my update & insert form return url+token instead of insert/update data (laravel) Pin
Galih indra waspada11-Mar-19 23:29
memberGalih indra waspada11-Mar-19 23:29 
AnswerRe: Why my update & insert form return url+token instead of insert/update data (laravel) Pin
Richard Deeming12-Mar-19 2:52
mveRichard Deeming12-Mar-19 2:52 
QuestionProblem on Opening Password-Protected ZIP File that created on Heroku Server ( Python App ) Pin
HardCoder66611-Mar-19 18:10
memberHardCoder66611-Mar-19 18:10 
QuestionModal popup from web page during long processing task Pin
Member 1413757611-Mar-19 15:23
memberMember 1413757611-Mar-19 15:23 
AnswerRe: Modal popup from web page during long processing task Pin
Richard Deeming12-Mar-19 2:48
mveRichard Deeming12-Mar-19 2:48 
Questiondiv width not working Pin
V.11-Mar-19 2:53
professionalV.11-Mar-19 2:53 
AnswerRe: div width not working Pin
Richard Deeming11-Mar-19 8:53
mveRichard Deeming11-Mar-19 8:53 
GeneralRe: div width not working Pin
V.11-Mar-19 21:27
professionalV.11-Mar-19 21:27 
QuestionIs there an easy way into Razor, without necessarily adopting all of MVC to begin with? Pin
Patrick Skelton7-Mar-19 1:02
memberPatrick Skelton7-Mar-19 1:02 
AnswerRe: Is there an easy way into Razor, without necessarily adopting all of MVC to begin with? Pin
Richard Deeming7-Mar-19 1:05
mveRichard Deeming7-Mar-19 1:05 
GeneralRe: Is there an easy way into Razor, without necessarily adopting all of MVC to begin with? Pin
Patrick Skelton11-Mar-19 1:17
memberPatrick Skelton11-Mar-19 1:17 

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.


Advertise | Privacy | Cookies | Terms of Service
Web05 | 2.8.190612.1 | Last Updated 15 Jun 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid