Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
R

Raviranjan_Kumar_Sinha

@Raviranjan_Kumar_Sinha
About
Posts
5
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • unable to get property 'childnodes' of undefined or null reference
    R Raviranjan_Kumar_Sinha

    Hi, From where you are calling function GetEqrDataUploadFiles(), can you try to call function GetEqrDataUploadFiles() from inside document.ready function if you are not? Thanks Raviranjan

    JavaScript data-structures help

  • Javascript code to automatically check the checkbox of duplicate record in gridView
    R Raviranjan_Kumar_Sinha

    Hi, Lets assume that you want to do on Name so if check one checkbox with Name Ravi and there are 3 record with Name Ravi then all 3 checkbox should get checked, so you can do like below, lets say that you are having checkboxes

    JQuery Code $("#mainGridDiv input[type=checkbox]").change(function(){ var currValue = $(this).val(); $("#mainGridDiv input[type=checkbox]").find("[value='"+currValue+"']").attr("checked",$(this).checked) }); NOTE:Assuming checkbox is one column of your grid. Thanks Raviranjan

    JavaScript javascript

  • MVC 4 Radio Button List
    R Raviranjan_Kumar_Sinha

    Hi Vishwa, Below i am giving idea how you can do it. In View on top @model IEnumerable--> This is basically the list of Question that you have to return from controller method Then HTML Code for Displaying the Question and their option @foreach (Question question in Model) { @Html.DisplayFor(modelItem => question.QuestionText) foreach (Option option in question.Options) { option.OptionText : @Html.RadioButtonFor(opt=>option.OptionID,option.OptionValue) } <HTML for like> Agree, DisAgree,... } The Class of Question and Option will be like below public class Option{ public int OptionID{get;set;} public string OptionText{get;set;} public string OptionValue{get;set;} } public class Question{ public string QuestionText{get;set;} public List Options{get;set;}//This will contain all 4 option } Class name and properties you can put whatever you want, i have just wrote sample. Let me know if you have any doubt. Thanks Raviranjan

    ASP.NET csharp asp-net architecture question learning

  • MVC 4 Radio Button List
    R Raviranjan_Kumar_Sinha

    Hi Vishal, So you mean that, let say Quetion1, Question2, Question3,... and for each question you will have Option1, Option2, Option3, Option4 and for each question you will have - Agree,Disagree, Strongly agree, Strongly Disagree, Like Question1 Option1, Option2, Option3, Option4 Disagree, Agree, Strongly Agree, Strongly Disagree Question2

    Option1, Option2, Option3, Option4
    Disagree, Agree, Strongly Agree, Strongly Disagree

    ..................... Right? Thanks Raviranjan

    ASP.NET csharp asp-net architecture question learning

  • MVC 5 Scaffolded view problem
    R Raviranjan_Kumar_Sinha

    Hi, Your View Name is same as controller Method Name and also in correct folder as per Controller Name ? Thanks Raviranjan

    ASP.NET question help csharp asp-net visual-studio
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups