I am using a model that to be converted into json with Newtonsoft Json as follows MyCars[ Car{ Name:"" Model:"" } Car{ Name:"", Model:"" } ] but I am getting MyCar[ Car[ {Name:"", Model:"" } { Name:"", Model:"" } ] ] how to get first format?
Raghavendra Kodimala
Posts
-
json attribute for ienumerable items -
usage of $.validator.unobtrusive.parseHi, In my project I am using mvc ajax form. we included js file. In that js file somebody written $.validator.unobtrusive.parse. The form id passing in parse is becoming undefined. because of this it's raising issue. how to resolve this issue $.validator.unobtrusive.parse("#form"); this #form is becoming undefined at run time. any one help me to resolve this issue
-
converting string to htmlI am storing html string formatted in database. Now I want that string to be shown formatted but it's putting string as it is with tags. This is in C#. Good answer is appriciated
-
event for partial view unloadwe're loading all partials views to a common div.
$(divname).load(url);
on clicking a row in a table or clicking on an icon,or clicking on link, view changes. my requirement is, in a partial view, we have two text boxes which are free type. before this view clears, i need to save these data to db. what appropriate event is to be used before this view goes? i tried
$(document).unload
$(document).unbind
$(div).change
$(div).unloadetc. nothing worked. please help me to resolve this issue
-
event for partial view unloadwe're loading all partials views to a common div. $(divname).load(url); on clicking a row in a table or clicking on an icon,or clicking on link, view changes. my requirement is, in a partial view, we have two text boxes which are free type. before this view clears, i need to save these data to db. what appropriate event is to be used before this view goes? i tried $(document).unload,$(document).unbind,$(div).change,$(div).unload etc. nothing worked. please help me to resolve this issue
-
System.web.script.serialization not available to add in web apiI need to convert a model to json. I found that it can be done with System.web.script.serialization dll. When i try to add reference, it's not available. how can we add?
-
Issue with jquery sliderHi, We are using jquery slider in our application. on focus event for text box, slider will come into picture. When we slide, a value will be putting into textbox and cursor goes at right end. For example, when i slide, suppose a value 1.25 will be set into textbox. When i click on 1 in above value, cursor always going at right end. Please give me solution when we click on 1, the cursor should stay there itself
-
Removing '\' character from string.Hi, I am converting a model into Xml format. That gives me xml in string. This string consists several \" character instead of ". I need to remove all \ character from string. I tried remove by using replace method but it's not going. Is it possible to remove this character?
-
How to render empty byte array element as xml tag in c#?The other party app receiving XML without any attributes. If any attributes are there that throwing exception
-
How to render empty byte array element as xml tag in c#?Hi, I'm using a property as byte array in a model. Now while serializing this model into xml, if this property is null, then it's not rendering as tag. I'm using [XmlElement(IsNullable=true)] attribute on that property.If i do this, in this case it's creating tag with attribute something like xi:nil=true. I don't want this. If that property is null, then make it as empty element else assign value. Please give me solution.
-
How to implement MULTIPLE.OPERATIONS functionality in .netI already given explanation about this method. Again am explaining. This method consists three parameters. First parameter takes formula assigned to a variable. Second parameter takes the variable which need to be replaced in captured formula(first parameter). This function replaces second parameter in formula with third parameter which is also a variable. If second parameter not found in the captured formula, then function searches for second parameter variable in all variables formulas in the captured formula until it finds the second parameter variable. Then replaces with third parameter.
-
How to implement MULTIPLE.OPERATIONS functionality in .netMy problem is I am working on a new ASP.NET application where existing application is libreoffice. (Since it's also spread sheet, I am using term excel some times). In this libreoffice, I have encountered a function in a formula called MULTIPLE.OPERATIONS. I have studied about this function. It is not exactly a function, but it comes under what if analysis. This is in tools menu (libreoffice). I need to write a function in .net which behaves as MULTIPLE.OPERATIONS. There i got stucked and asking for help. I am sorry if anybody takes rude or rash behavior from my written content.
-
How to implement MULTIPLE.OPERATIONS functionality in .netI understood the what if analysis and concept of Multiple operations. But my exact requirement is i want to write a function with few parameters. In that first parameter is need to capture formula assigned to a variable. How can we write that?
-
How to implement MULTIPLE.OPERATIONS functionality in .netThis is functionality exist in tools menu in libreoffice. We can apply on set of fields. Any one who uses excel, can understand what am i asking
-
How to implement MULTIPLE.OPERATIONS functionality in .netHi friends, I need help to implement functionality of MULTIPLE.OPERATIONS which is there in excel into .net.
-
Can any one help me to post content on linked in asp.net?Hi everyone.. I had tried to post on linkedin using many apis in asp.net but not succeeded. Please any one show me how to do that?