|
to make it short...
download this
open a index.html file in your browser its a demo
in the shadow case -> look at the dialog demo -> look at the html , class="ui-widget-shadow ui-corner-all"
now add the folders to your site/web app
then set this html in a page for a test
link the 2 js file and css to that page
<div style="width:100px;"><div class="ui-corner-all ui-widget-shadow" ><div class="ui-dialog-content ui-widget-content">test 123</div></div></div>
you should get a small shadow around a div with a test 123 text in it
now you need to set the margin of the shadow so it will have an angel relating the text div
it take some time to get in to it but its a great tool for web development
reply back for results
MyDevBank.com
|
|
|
|
|
|
Hi
Anybody know how to get the Stock ticker from Indian Share market to our asp.net webbased application.??
Wanted to develop a mock application using that.
Thank you
With regards
Sobeja
|
|
|
|
|
If you want it in real time you'll probably need ot pay for it. If you don't mind a lag of 15 or so minutes then this article might help: Yahoo Market data - another take.[^]
me, me, me
"The dinosaurs became extinct because they didn't have a space program. And if we become extinct because we don't have a space program, it'll serve us right!"
Larry Niven
|
|
|
|
|
-sure there is a web service you can connect to for the data
-for a ticker, i say use jquery ticker
and this example ticker
MyDevBank.com
|
|
|
|
|
Hi in our webserver oftenly we get an error ORA-03113: end-of-file on communication channel, whenever our website tries to connect an Oracle database.This error disappears when we restart the IIS.
Can anyone give a permanent solution to this problem?
<font style="color:Green;font-family:Courier New;font-weight:bold;">C</font><font style="color:Blue;font-family:Courier New;font-weight:bold;">C</font><font style="color:Pink;font-family:Courier New;font-weight:bold;">26</font>
|
|
|
|
|
m makin a social networking site.can you please tell me the concept of requesting and adding a friend...and also home page of friend should open on the click event
|
|
|
|
|
To request a friend, I think it is done as follows
When the user selects the person by his/her name and click send request
The system does 2 things:
1- Sends an email message to that person including the name of the sender
2- Insert a new request record in the requests table of that person to enable him/her see it within the site
does this help ?
foreach(Minute m in MyLife)
myExperience++;
|
|
|
|
|
i want to develop a asp. net application in C#.
In which want to Video conferencing.
How it is possible.
|
|
|
|
|
hi, iam using asp.net with c#
above the gridview iam using a textbox , when user enters the name of category the related records should be pop up in gridview control
can you give me a suitable example which helps me
|
|
|
|
|
Change your TextBox to a DropDownList
Create a StoredProcedure that will return you a listing of Categories from your Category reference table
Transform the raw data into a List of KeyValuePairs with your category DisplayNames and your Database Values,
Set the DataSource of your DropDownList to the List<KeyValuePair<string,string>> where each KeyValuePair represents an individual category,
DropDownList.DataBind();
Trigger a postback on Category Selection,
Send the category down to your Stored Procedure as a parameter,
Pull back data,
perform ORM,
set the DataSource of your GridView to a List of your Business Objects
GridView.DataBind();
Done
Quick and dirty, typed in-line off top of head:
public List<KeyValuePair<string, string>> GetCategories()
{
List<KeyValuePair<string,string>> categories = new List<KeyValuePair<string,string>>();
while(reader.Read())
{
categories.Add(new KeyValuePair<string,string>(reader["CategoryName"],reader["categoryID"].ToString());
}
return categories;
}
public List<BusinessObject> GetData(int category)
{
List<BusinessObject> list = new List<BusinessObject>();
while(reader.Read())
{
list.Add(new BusinessObject(reader["id"],reader["blahdeblah"],reader["whateverotherfieldyouwanttomap"]);
}
return list;
}
protected void Page_Load(object sender, EventArgs e)
{
if(!Page.IsPostBack)
{
grdData.DataSource = GetData();
grdData.DataBind();
ddlCategories.DataSource = GetCategories();
ddlCategories.DataTextField = "Key";
ddlCategories.DataValueField = "Value";
ddlCategories.DataBind();
}
}
"I need build Skynet. Plz send code"
|
|
|
|
|
hi iam using asp.net with c#
in my gridview control 1st column is checkbox,2nd column is product name, 3rd column is price, 4th column is quantity
5th column is total, when user enters the quantity value then price* quantity and the result should be display dynamically in total column
can you provide me a suitable example which helps me
|
|
|
|
|
if you're wanting to perform the calculation yourself, and it needs to be done on the fly as data is being entered.....javascript.
"I need build Skynet. Plz send code"
|
|
|
|
|
hi iam using asp.net with c#
in my gridview control 1st column is checkbox,2nd column is product name, 3rd column is price, 4th column is quantity
5th column is total, when user selects any no of checkbox that selected row data i have to take it to another page in which
there is also an another gridview i have show the data from previous page
can you provide me a suitable example which helps me
|
|
|
|
|
Well...to pass data from one page to another, you are going to have to have some way of persisting the relevant information between pages because web development is inherently stateless.
The most common methods for passing data from form to form would be:
->Session,
->ViewState,
->QueryString.
I suggest you begin by investigating these three mechanisms.
Then, figure out how to bind a GridView to data that you pull out of your chosen variable. Then, figure out how to put data from the original GridView into the variable. If you can combine these three tasks, you will be able to pass data from GridView to GridView.
"I need build Skynet. Plz send code"
|
|
|
|
|
Take data into session and print onto next page
2-through previous page control
for more information
jayprakash.554@gmail.com
09999379707
in india
|
|
|
|
|
Hi everybody,
I'm running into some very weird (to me) behavior when I try to chain the OnClick event of a Label to an Anchor. If that isn't self-explanatory, what I'm doing is showing a Label and hiding an Anchor. When I click on the Label, the Label clicks the Anchor.
My debugging process:
-> If I hide the Label, Show the anchor and set the function directly in the OnClick event in the a tag, executes as expected
-> If I show the Label, Hide the anchor and set the function directly in the OnClick event in the asp:label tag, executes as expected
-> If I show the Label, Hide the anchor, set the function in the anchor tag and tie the Label's OnClick event to be the PostBackClientHyperlink of the anchor, the javascript function is not executed.
Clicking the Label is triggering a PostBack, but it is not executing the client-side onclick event before doing so.
I've included the relevant code below. Does anyone have enough experience in this area to know why the Anchor's onclick event is not chained to the Label?
Page Markup
<table width="82px" cellspacing="1" cellpadding="0" bgcolor="#99BADD" runat="server">
<tr runat="server">
<td runat="server">
<table width="80px" cellspacing="0" cellpadding="0" runat="server">
<tr runat="server">
<td id="trace" bgcolor="#FFFFFF" width="80px" height="16px" runat="server">
<asp:Label runat="server" visible="false" ID="lblTrace" BackColor="#99BADD" >Trace1</asp:Label>
<a id="hdnAnchor" visible="true" runat="server" onclick="return poop();" >Trace2</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
JavaScript function (assume that "txtSuccess" exists on the Page)
function poop()
{
document.getElementById('txtSuccess').value = "PooP";
}
Default.aspx.cs
protected void Page_Load(object sender, EventArgs e)
{
lblTrace.Attributes.Add("OnClick",ClientScript.GetPostBackClientHyperlink(this.hdnAnchor, ""));
}
"I need build Skynet. Plz send code"
|
|
|
|
|
|
Sure, do you have about five years to listen, observer and learn it?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
|
Sorry man,
Unfortunately, this is a big issue that cannot be answered on a forum
I suggest that you buy a good book in oop
Or join a course
Then, you can find a list of very useful articles here on CodeProject that provides samples for beginners and some tricks, etc.
The message board will be useful for you only when you are developing some application and have a specific issue
However, welcome to CodeProject
foreach(Minute m in MyLife)
myExperience++;
|
|
|
|
|
Hi all,
I am trying to code a procedure in VB.Net where a user clicks on a link and the page detects the email of the person. This way I will be able to validate that it is a new user who has accessed the activation aspx page.
Currently, I have the follwing:
IF Request.QueryString("uid") > 0 THEN<br />
'activate user<br />
ELSE<br />
'display error message<br />
END IF
I can also query the DB to see if the userID is > 0 AND if the activation status is false, but it is still not specific enough. If I can include his EMAIL ADDRESS in the query, I will have solved the issue.
Thanks for your help!
|
|
|
|
|
Well because your user might have a browser but not an email client or multiple registered emails, there's no linkage between machine and email address or browser and email address so you're basically going to have to add another variable to your querysting to include their registered email (I'm assuming your link is sent out via mail a la a forum registration message).
|
|
|
|
|
Thanks for the answer! I see what you mean.. query the email that they input and send it to his email.. when it arrives back to the application, it will be there ready for me to query!
Sometimes the solution is soo simple!
Thanks again
|
|
|
|
|
My only extension would be to encrypt the value on the way out and then decode it in your page's code when they come back. Just because someone might mess around with the URL, randomly entering IDs and email combinations.
It's unlikely I'll admit but it's just one of those things I end up doing just for peace of mind.
|
|
|
|