User Profile
Collapse
-
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? -
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>... -
[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
... -
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... -
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...Leave a comment:
-
for window.history. back(0) = window.location
where do i write this code?
i wrote in <head> but it doesnt work....Leave a comment:
-
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);... -
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? -
-
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... -
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? -
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??? -
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.....Leave a comment:
-
[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>
...Leave a comment:
-
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)...
No activity results to display
Show More
Leave a comment: