Click here to Skip to main content
15,884,047 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: window open Pin
dcof11-Aug-12 11:45
dcof11-Aug-12 11:45 
GeneralRe: window open Pin
jkirkerx11-Aug-12 13:34
professionaljkirkerx11-Aug-12 13:34 
Generaltextbox wrap to several lines Pin
classy_dog9-Aug-12 9:05
classy_dog9-Aug-12 9:05 
AnswerRe: textbox wrap to several lines Pin
R. Giskard Reventlov9-Aug-12 10:02
R. Giskard Reventlov9-Aug-12 10:02 
GeneralRe: textbox wrap to several lines Pin
classy_dog9-Aug-12 12:07
classy_dog9-Aug-12 12:07 
AnswerRe: textbox wrap to several lines Pin
R. Giskard Reventlov9-Aug-12 12:40
R. Giskard Reventlov9-Aug-12 12:40 
QuestionA liitle help on submitting a json array, no-primitive to a web service Pin
jkirkerx9-Aug-12 8:49
professionaljkirkerx9-Aug-12 8:49 
AnswerI think I did it, got my json reponse back with no error during testing. Pin
jkirkerx9-Aug-12 17:03
professionaljkirkerx9-Aug-12 17:03 
Well that was hard, especially finding info on it in vb, everything was c#, so I had to translate it. Wrote this at 1:30, but had to take a service call. Just got back to test it.

So a list of template_Elements, qualifies as a primitive, or it simply consumes the web method before processing, and passes on the json array for my manipulation.

If you've got insight into this, let me know, would like to learn more about it.

I'm going to try to parse the JSON back into an array, and write out some XML with it, hope it works, or I'm back to the drawing board.
<WebMethod()> _
 Public Function create_DynamicCart_Template(
    ByVal template_Name As String,
    ByVal template_Array As List(Of templateElements)) As String

    Dim dwExitCode As Integer = 2
    Dim json_response As StringBuilder = New StringBuilder
    Dim html_Stream As String = Nothing

    Try

        Dim jss As JavaScriptSerializer = New JavaScriptSerializer()
        Dim elements = jss.Deserialize(Of List(Of templateElements))(template_Array.ToString)


Then the class
Public Class templateElements

    Private privateName As String
    Public Property Name() As String
        Get
            Return privateName
        End Get
        Set(ByVal value As String)
            privateName = value
        End Set
    End Property
    Private privateCode As String
    Public Property Code() As String
        Get
            Return privateCode
        End Get
        Set(ByVal value As String)
            privateCode = value
        End Set
    End Property

End Class

QuestionRe: A liitle help on submitting a json array, no-primitive to a web service Pin
CodeHawkz9-Aug-12 20:54
CodeHawkz9-Aug-12 20:54 
AnswerRe: A liitle help on submitting a json array, no-primitive to a web service Pin
jkirkerx10-Aug-12 6:26
professionaljkirkerx10-Aug-12 6:26 
AnswerRe: A liitle help on submitting a json array, no-primitive to a web service Pin
CodeHawkz12-Aug-12 8:48
CodeHawkz12-Aug-12 8:48 
GeneralRe: A liitle help on submitting a json array, no-primitive to a web service Pin
jkirkerx12-Aug-12 10:25
professionaljkirkerx12-Aug-12 10:25 
GeneralRe: A liitle help on submitting a json array, no-primitive to a web service Pin
CodeHawkz12-Aug-12 17:23
CodeHawkz12-Aug-12 17:23 
GeneralRe: A liitle help on submitting a json array, no-primitive to a web service Pin
jkirkerx13-Aug-12 7:17
professionaljkirkerx13-Aug-12 7:17 
GeneralRe: A liitle help on submitting a json array, no-primitive to a web service Pin
CodeHawkz29-Aug-12 19:17
CodeHawkz29-Aug-12 19:17 
GeneralRe: A liitle help on submitting a json array, no-primitive to a web service Pin
jkirkerx30-Aug-12 6:04
professionaljkirkerx30-Aug-12 6:04 
GeneralRe: A liitle help on submitting a json array, no-primitive to a web service Pin
CodeHawkz30-Aug-12 20:34
CodeHawkz30-Aug-12 20:34 
GeneralRe: A liitle help on submitting a json array, no-primitive to a web service Pin
jkirkerx31-Aug-12 6:25
professionaljkirkerx31-Aug-12 6:25 
QuestionPage.Response.Redirect not working Pin
dcof9-Aug-12 5:21
dcof9-Aug-12 5:21 
AnswerRe: Page.Response.Redirect not working Pin
jkirkerx9-Aug-12 6:50
professionaljkirkerx9-Aug-12 6:50 
AnswerRe: Page.Response.Redirect not working Pin
AspDotNetDev9-Aug-12 6:51
protectorAspDotNetDev9-Aug-12 6:51 
AnswerMessage Closed Pin
9-Aug-12 8:14
professionaljkirkerx9-Aug-12 8:14 
GeneralRe: Page.Response.Redirect not working Pin
dcof9-Aug-12 12:11
dcof9-Aug-12 12:11 
GeneralRe: Page.Response.Redirect not working Pin
jkirkerx9-Aug-12 17:09
professionaljkirkerx9-Aug-12 17:09 
GeneralRe: Page.Response.Redirect not working Pin
dcof9-Aug-12 18:40
dcof9-Aug-12 18:40 

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.