User Profile

Collapse

Profile Sidebar

Collapse
sspost
sspost
Last Activity: Dec 11 '09, 05:12 PM
Joined: Sep 6 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sspost
    started a topic Web Service question
    in .NET

    Web Service question

    I have a web service...which is called by a web application...w hen 2 users login and try to access one web method ...there is a block of code in the web method that I want to priortize i.e. if user1's requests that part of web method before user2 then he should be allowed to execute that block of code before user2....withou t any errors...how can I do that?
    See more | Go to post

  • sspost
    started a topic parsing list of childmost nodes in XML
    in .NET

    parsing list of childmost nodes in XML

    have an XML:



    <Main>



    <CoreList>

    <Element>A</Element>

    <AllowValue>

    <Display>AF04 </Display>

    </AllowValue>

    </CoreList>


    <CoreList>

    <Element>B</Element>

    <AllowValue>

    <Display>BF01 </Display>...
    See more | Go to post

  • sspost
    replied to Parsing XML
    in .NET
    [yes I did initialize it
    here's rest of the code
    <DataUser>
    <Create>
    <Element>Common </Element>
    <Display>Stat e Value</Display>
    </Create>
    </DataUser>

    Dim xmlDoc As New System.Xml.XmlD ocument
    xmlDoc.LoadXml( myXML)

    'Create a namespace manager

    Dim nsManager As XmlNamespaceMan ager
    ...
    See more | Go to post

    Leave a comment:


  • sspost
    started a topic Parsing XML
    in .NET

    Parsing XML

    I have an XML that looks like this

    <DataUser>
    <Create>
    <Element>Common </Element>
    <Display>Stat e Value</Display>
    </Create>
    </DataUser>

    how do i parse it?
    I used

    Dim str as string = xmlDocument.Sel ectSingleNode("//Create/Element", nsmanager).Inne rText

    but it gives "Object Refernce...
    See more | Go to post

  • sspost
    replied to How to disable browser's BACK button?
    It doesnt work for me...i dont know why
    when i click the back button instead of going to previous page it goes to a page before that ...i dont know whats wrong

    either i want to disable the back button or
    i want when i click the back button all the values enetered by user in the previous page should be their ..which are getting lost...because of which i added my own button and storing all the values from the previous...
    See more | Go to post

    Leave a comment:


  • sspost
    replied to How to disable browser's BACK button?
    for window.history. back(0) = window.location

    where do i write this code?
    i wrote in <head> but it doesnt work....
    See more | Go to post

    Leave a comment:


  • sspost
    started a topic How to disable browser's BACK button?

    How to disable browser's BACK button?

    how can i disable the back button for a browser?

    I have been reading a lot of forums but cant find any answer to it...other than opening up the page, in which i want to disable the browser in a new window(which i dont want to do)

    Is their a way to do it? using javascript or something?

    I have tried using the following but non of them actually disable the
    back button:

    window.history. forward(1);...
    See more | Go to post

  • sspost
    started a topic page expires on forward button
    in .NET

    page expires on forward button

    I have pageA and pageB when from pageB i am coming back to pageA the "forward button" on IE gets disabled or
    if it is enabled it gives me error...."Warni ng: Page has expired..."(Is it because that page was returned by some server-side form handler)
    what should i do to stop this?
    See more | Go to post

  • sspost
    replied to client side - retain previous page?
    in .NET
    [Ok ..got that working thanks for ur help
    See more | Go to post

    Leave a comment:


  • sspost
    started a topic client side - retain previous page?
    in .NET

    client side - retain previous page?

    I have a web pages A and B , when i enter values in a number of textboxes in page A and click "Continue" button and go to page B, and click the browser's back button the page A is back as it was during page load initailly with no values in it

    I want to add a "Back" button in page B , which when clicked goes to page A and retains all the values and textboxes as it was before i clicked "continue " button...
    See more | Go to post

  • sspost
    started a topic upload files, any location of the file available
    in .NET

    upload files, any location of the file available

    i have a webpage ABC.aspx, where i am browsing for a file ,

    when i get the file that i want to upload D:\document.pdf , i pass this D:\document.pdf to next webpage XYZ.aspx as string, so there is no upload file control in page XYZ
    now XYZ.aspx has only the string location of the file i.e, D:\document.asp x, how do i upload the file in XYZ.aspx, what code should i write?
    See more | Go to post

  • sspost
    started a topic transfer datagrid values
    in .NET

    transfer datagrid values

    I have datagrid on page A.aspx
    i want to transfer all the rows in that datagrid to the next page B.aspx .....how do i do that

    the rows are added dynamically to the datagrid , so i dont know how many rows will be there .....how do i do this???
    See more | Go to post

  • sspost
    replied to Grid View - disconnected datasource
    in .NET
    No I dont
    Now I am getting this :
    at the following line:

    doc.Rows.Remove (filteredRow)

    it gives me exception: System.IndexOut OfRangeExceptio n - The given DataRow is not in the current DataRowCollecti on. , even though the search row is the primary key one........does anyone has any idea why its giving it? even though the comparing row is the correct one.....
    See more | Go to post

    Leave a comment:


  • sspost
    replied to Grid View - disconnected datasource
    in .NET
    [Ok , I used dataobject and can add rows one after another, but i added delete button but still cant get the delete to delete the rows from gridview ...here is the code i wrote:
    [code=html]
    <asp:datagrid id="DataGrid1" runat="server" Width="100%" AutoGenerateCol umns="False">
    <AlternatingIte mStyle BackColor="beig e"></AlternatingItem Style>
    ...
    See more | Go to post
    Last edited by Frinavale; Sep 7 '07, 01:06 PM. Reason: Added [code] tags to make more legible

    Leave a comment:


  • sspost
    started a topic Grid View - disconnected datasource
    in .NET

    Grid View - disconnected datasource

    i used Grid view and here is the code i wrote:
    [code=vbnet]
    Protected Sub ButtonAddFile_C lick(ByVal sender As Object, ByVal e As EventArgs)
    Dim gv As New GridView
    gv.Style.Add("p osition", "absolute")
    gv.Style.Add("l eft", "575px")
    gv.Style.Add("t op", "220px")
    gv.EnableViewSt ate = False
    form1.Controls. Add(gv)...
    See more | Go to post
    Last edited by Frinavale; Sep 6 '07, 05:54 PM. Reason: Added [code] tags and made code more legible
No activity results to display
Show More
Working...