How To Create A Web Site Using C#(not Used Asp.net) ,xml,xsl,xquery ,xpath ,jquery
Nov 13, 2010how to create a web site using c#(not used asp.net) ,xml,xsl,xquery ,xpath ,jquery
View 3 Replieshow to create a web site using c#(not used asp.net) ,xml,xsl,xquery ,xpath ,jquery
View 3 RepliesJQuery supports a syntax of $("span[id$='Label1']") to allow selection of ASP.NET INamingContainer generated ID's that have been prefixed with "ct100$...".
We are using Selenium and are looking for a similar way to select elements, ignoring the prefixes that ASP.NET generates.
I have a listbox element in aspx page which id is attributesList.
I want to select this element to track its change event, but i cant directly select its id because asp.net changes its id on runtime.
its id, attributesList changes into ctl00_adminPlaceHolder_attributesList.
so what i want to do is to use a "contains" xpath expression to select the element.
[Code]....
how to create a gridview template
with text box
From
To
Company
Profile
[Code]....
FromToCompanyProfile
[Code]....
xml File
[Code]....
I want to use a local sql variable in XQuery.
Following is my table structure with columns and data type.
Orders
ID
Uniqueidentifier
UserID
Uniqueidentifier
OrderDetail
XML
OrderDate
DateTime
OrderDetail column contains XML in the following form.
<Books>
<Book BookID="033ba62a-3bbe-48cc-ad15-c3f28ff86306" Title="XYZ" Price="120" />
<Book BookID="805BC2BE-A91E-4E0E-A99E-C290D2EEEFF6" Title="XYZ" Price="120" />
</Books>
I want to select Orders (rows) which have BookID = "033ba62a-3bbe-48cc-ad15-c3f28ff86306". I am able to achive it through the following query.
Select * From Orders Where OrderDetail.exist('//Book[@BookID = "033ba62a-3bbe-48cc-ad15-c3f28ff86306"]') = 1
Now the issue is I want to use an sql local variable (@BookID) instead of the hardcoded BookID.
So How I can use a sql variable in a XQuery.
I have created firstly ASP.NET MVC 2. and write more functionality. After I create asp.NET Dynamic Data Site. now, when I click on run button in Visual Studio, mvc app. opened in browser as [URL]. and asp.NET Dynamic Data Site as [URL]. but i want to merge this app. in one. can I use asp.NET Dynamic Data Site and asp.NET MVC-2 at the same time?
View 1 Repliestoday i visit a site and saw that when i scroll down then images are getting fetch from server and being visible in the page. the site url is[URL]. please have look at the site and scroll down then u will see the effect that load images at run time when user scroll down.please tell me someone how could i do this. i need a site url from where i will get exact sample using jquery. please let me know if anyone have knowledge for the effect. i want to load image and text both dynamically when user scroll down.
View 3 RepliesI'm finding it next to impossible setting up a slideshow given the constraints I have. I could do it easily using a listview control except listview controls don't automatically page themselves! Is it possible to use jquery to create a play/pause button to auto page through the listview control, making it a slide show?
View 1 RepliesI want to create a twitter like user registartion form for my asp.net(C#) web application. I have configured asp.net membership module for my site. I have searched alot but couldn't find any all in one JQuery Plugin which provide the following functionalities to my webform
1. Form Feild highlight when onFocus and on error
2. Tooltip when form feild is in focus
3. Proper client-side form valodation
4. Check user name avalibility
5. Check email re-registration
6. Calculate Password strength
7. Nice feedback when form is submitted
Can anyone know any all in one plugin wich I can add to my asp.net(C#) registration forms to make my forms live? I'm extremly new to jquery and it my firstever jquery project.
I have asp.net button and I want to create a QUnit test that will first create mouseover and then show an alert. How to do this. I tried
test("mouseover",function(){
$("#buttonid").mouseover(function () {
alert('mouseover');
test(true,"Done");
});
});
but it doesnt work.
Do I have to use XPath to link my XML document to a repeater or is there another way. here is my some of my code.
first page loop through data and store as XML:
public virtual void Button_Click(object sender, EventArgs args)
{
TableControl recControls = (TableControl)this.Page.FindControlRecursively("TableControl");
if (recControls != null)
{
TableControlRow[] rows = recControls.GetSelectedRecordControls();
this.Page.Session["RegistrationTableControl"] = rows;
// create XML writer to
using(System.Xml.XmlWriter writer = System.Xml.XmlWriter.Create(@"c: emp
[Code]....
I have take the XML data and place them in page 2 become the data source of the repeater.
I need to create a slide Gallery on multiple rows (two) with jquery.There is already made some plugin, or can give me an example to be able to realize?
View 1 RepliesI have a XMLDataSource somewhat like:
<bookstore>
<author>author1</author>
<publication>publication1</publication>
<book>
<genre>Thriller</genre>
<name>ABC</name>
</book>
<book>
<genre>Romance</genre>
<name>XYZ</name>
</book>
<book>
<genre>Horror</genre>
<name>000</name>
</book>
</bookstore>
I am storing these in a asp:formview. I am able to store author and publication values but not sure how can I store the value of book/name based on some condition? Actually I just want to use condition that I need to store the value of "name" if "genere=Romance". something like this. I tried using XPath expression bookstore/book/genre[. ='Romance'] but not sure how to access the value of tag. Checked the following resource:
[URL]
I got this question from programming asp.net and web-site called quickstart.asp.net.In this it is mentioned that xpath and xpathselect is how used and syntex but it is not mentioned how it differs in work, i ckecked but both are giving same result.
View 1 Replieshere my code that gives error-
OnClientClick='javascript:DragRevId(<%# XPath("ReservationId") %>);return false;'
I'm creating page to put together a list of cinema trailers on an asp.net web page inside of a repeater.
The source of the data is an online XML feed.
To do this I'm binding the repeater as follows...
string XML_FEED_URL = "http://some-cinema-feed.com/comingsoon/";
XmlDataSource data_source = new XmlDataSource();
data_source.DataFile = XML_FEED_URL;
data_source.XPath = "/movies/movie[position() > 0 and position() < 3]";
this.moviePreciewsRepeater.DataSource = data_source;
this.moviePreciewsRepeater.DataBind();
The issue is that the length of the feed changes regularly and rather than selecting a range of movies with the XPATH (i.e. 1-3 in the XML) I need to select 3 totally random movies from the XML and bind this back to the repeater.
I am trying to bind xml to GridView.
I am not able to use Xpath in HeaderTemplate like <HeaderTemplate>'<%#XPath("Name")%>'</HeaderTemplate>
Error: Value cannot be Null.
Well, how to I insert my Xpath value into HeaderTemplate from Serverside?
I have a traffic rss feed which I want to filter when a user enters some text in the text box. For example, if the user enters “Leicester” in the search box then only data containing “Leicester” in the “Tile” OR “Desscription” with be displayed.
<asp:DataList ID="dl_traffic" runat="server" DataSourceID="Xml_1" style="font-family:Arial;font-size:14px;margin-left:2px">
<FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
<SelectedItemStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
<AlternatingItemStyle BackColor="White" />
<ItemStyle BackColor="#EFF3FB" ForeColor="Black" />
<HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
<ItemTemplate>
[CODE]
One of my relatives is going to start a small salon. I would like to develop a small web-site (that is pretty basic: display information, book an appointment, display product/service information, show directions to the salon, etc). I can use a XML file as a basic data storage and am not intended to use any database for this. I can deal with the coding development of the web site, but I have not developed any web-site independently and have no detailed knowledge about how to host the site, etc. factors. I also would like to know that whether it's possible to develope such a web site using ASP.BET (Visual Web Developer) with NO cost?
View 8 RepliesI follow the tutorial and creted a web site for my company sales system. One of my collegue mention we use the wrong templet, we should use Web application for company application.Should i continue using web site or change to web application? We are creating application for company sales, inventory, hr ,etc where possible more than 1000++ user. And during month end, it will be high traffic and transaction. can Web Site Template with BLL and DAL handle it? or i just need a powerful server?
View 7 RepliesWhat I'm looking for is a good sample of an open source WebForms site which contains demonstrations of some best practices, design patterns etc. Just want too look how experienced people apply their knowledge to build websites which can be shown to everybody without shame :)It would be good if the samples show these technologies: IoC, Entity Framework, Unit testing (with mocks), jQuery. The small samples which demonstrate the particular technology are useless as I've already examined many of them.My goal it to improve the existing huge WinForms application, so I'm not interested in ASP.NET MVC for the time being
View 1 RepliesI'd like to learn how to create custom providers ( say custom membership provider or custom profiles ) that use XML as their data store. Is ( using C# ) best way to accomplish this using XPath/XSLT or DOM?
View 1 RepliesHow can I parse an remote xml file with XMLDataSource to HTML? Xpath? Can someone show me a quick demo please?
View 1 RepliesI have a domain with name of http://MainDomain.com I want to create a site in this site and this site contains 14 sub domains there. I need a structure of sitemap which contains all sub domains. The list of sub domains
is given below. Any suggestion is welcome...
http://MainDomain.com (Main Domain)
http://Sba.MainDomain.com
http://sbaloan.MainDomain.com
http://sbaloans.MainDomain.com/
http://sbalenders.MainDomain.com/
http://commercialrealestatefinance.MainDomain.com/
http://commercialrealestatelenders.MainDomain.com/
http://commercialmortgages.MainDomain.com/
http://commercialmortgagerefinance.MainDomain.com/
http://commercialloanlenders.MainDomain.com/
[code]...