I am looking for a few references on how to implement some basic client scripting for the treeview. All I really need to do is set the checked state of all client nodes to be the same as that of the highest parent clicked. There is the server side function which won't execute until postback. I would really like this to be on the client side. Thanks for any info.
I'm writing some code that will only be accessed by users of windows PC's on an intranet and I would like to be able to get thier windows login ID's to save them having to login twice (once for the system and once again for the web page).
Is it possible to retrive this via an ASP.NET page ?
I am using a repeater control bound to an objectdatasource. the objectdatasource has a slectmethod that brings back a list of product objects (wine in this case). Everything is hunky dory except when it comes to paging the repeater so that only x amount of priducts are shown.
I am using a tableadapter to get the info from the database into a dataset and then using a method to put that dataset into the list (which is being used by the objectdatasource).
Below is the code that inserts the info into the list. I figure this would be the easiest place to page by just saying that it must be bewtween certain indexes, however a datarow doesn't have an index
Public Shared Function testing1() As List(Of Wine)<br />
Dim objList As New List(Of Wine)<br />
Dim objTemp As New List(Of Wine)<br />
Dim tbl As Data.DataTable = WinesBLL.Testing()<br />
Dim row As Data.DataRow<br />
For Each row In tbl.Rows<br />
Dim objWine As New Wine(row("WineName"), row("WineryName"), row("WineVintage"))<br />
Return objList<br />
End Function<br />
I'm getting crazy over this ! I got a menu control from the framework 2.0 which is bound to the web.sitemap file.
When I click on a menuItem, there's a postback and nothing change, I'm still on the home page !!
Looking at my logs, I see I access the page I wanted, and I'm still here at the end of the Page_Load (no redirection during Page_Load), but after this I don't understand who redirect me to the home page...
So I add a single html link to try to access my page and it works fine, I deduce that's not the page that kicks me out... So who does???
Looking at the source, the href of my link and my menuItem are the same...
i am handling an application which is divided into 2 parts.
1> the WEB application i.e asp.net &
2> the Windows application
through windows application i am going to automatically download a file from a site and after downloading the same i have to upload it to the website on the server .i want a solution on uploading the file from a windows application to website on the server.though i have got a solution for downloading but if anyone has some other way also of doing it,sugesstion would be welcomed but my main need would be uploading file from a windows application to the website automatically
You should use SAPI for this purpose. Using this, you need not install anything in client side. Also, go through following link, you can download sample .NET Project also. You can ask me for any trouble, I have developed the entire application successfully.