|
Dear All
I have a dropdownlist called ddlProduct (it will be fill by productName from product table)
I have two button called btnADD, btnFinish
First time : when you click the btnAdd then will fill a grid view called gvProduct (without adding data into database)
Second time: when you click the btnAdd then it will fill a grid view called gvProduct (without adding data into database)
trird time...........
.
.
.
Last Time
Now I will click btnFinish
when i click btnFinish then it will insert all data into OrderDetails (database table)
The project I want to do is simillar to OrderPlacement like Customer can select Product name from the DropDownList when customer click Add button
then it will shows on the right panel (customer will add more that 5 product) what he added into his basket including price
When he click submit then all data will be added into database and order will be placed
Any instructions will be really helpful
Thanks in advace
Sarfaraj
Sarfarj Ahmed
|
|
|
|
|
Sarfaraj Ahmed wrote: Any instructions will be really helpful :
www.google.co.uk
|
|
|
|
|
thanks, could u please tell me wot should i put on google search engine
Sarfarj Ahmed
|
|
|
|
|
Hi,
How to display images dynamically? am displaying Radio buttons dynamically.My requirement is beside each radio button I want to show image. Am reading data from Xml file and make it in Dataset then using DataView am reading one by one. pls see the code what I have written:
DataSet dsPaymentMethod = new DataSet();
dsPaymentMethod.ReadXml(strFilePath);
DataView dvForDisplay = dsPaymentMethods.Tables[0].DefaultView;
for (int i = 0; i < dvForDisplay.Count; i++)
{
rdb = new HtmlInputRadioButton();
img = new Bitmap(5, 5);
rdb.ID = dvForDisplay[i]["RadioButtonId"].ToString();
rdb.Value = dvForDisplay[i]["PaymentGateway"].ToString();
img = System.Drawing.Image.FromFile(@"D:\VSSNew\SourceCode\Telefonica.MSNOut\Telefonica.MSNOut.UI\images\logos\cards\visa.gif");
panelInternational.Controls.Add(rdb);
}
I have written above code. but it only showing Radio buttons not images. How can I display images? Is there any server side contorl equal to this html ;
Thanks
|
|
|
|
|
set text property of radio button to html code like " "
|
|
|
|
|
|
Hi,
Using MS.Net 1.1, I am developing a form to display fields into DataList.
Datalist has itemtemplate and Requirefiled validator and textbox & label.
Each field has associated with control e.g.Textbox with in Datalist.
There two enviroment ,Development and Testging.
In Testing Enviroment,Datalist displays fileds sometimes in currect order while othertimes in reverse of previous like First time-
Name <textbox>>
Sname <textbox>
Age <textbox>
While other time
Age <textbox>
Sname <textbox>
Name <textbox>
I am not using paging or sorting.with Repeat Direction=Horiz and Repeatcolumn =1
In Development enviroment it is fine.
Where could be the problem?
Thanks.
AshwinGupta
|
|
|
|
|
I would use an order by, you must want them in some sort of order
The order by clause should sort your problem anyway
|
|
|
|
|
i want use paypal concept.but i didnot knoe how to use using Encore.PayPal.API.if know the code replay to me.
|
|
|
|
|
|
hi,
I have see some examples on CodeProject and other sites.I have found AutosuggestBox but its paid.
I need to fetch the field value from database and need to show under a textbox div.
and want to select the values by using arrows keys(up and down) like a gooogle suggest.
if any one have already through with this problem please suggest me the solution.
Thanks
Amit Agarwal
|
|
|
|
|
|
|
Hello Friend!
I want to call a web service from java script.
the web service exits in different solution i.e., java script and web service are in different project/solution.
the following code i use
<asp:scriptmanager runat="server" id="scriptManagerId">
<scripts>
<asp:scriptreference path="CallWebServiceMethods.js">
<services>
<asp:servicereference path="http://localhost/AjaxJavaScriptWebService/WebService.asmx ">
.
.
.
Server Time
the script file i.e.,CallWebServiceMethods.js
function GetTime()
{
WebService.GetServerTime(SucceededCallback);
}
when i execute the program a java script error occurs-
'WebService' is undefined.
if web service is in same solution, then it executes correctly
please help me
modified on Thursday, April 24, 2008 6:10 AM
|
|
|
|
|
|
thank you
the code is working, but if the web method returns any dataset then how can i bind the dataset to data grid
|
|
|
|
|
Hi Friends,
I am using update panal for the dropdown list and a text box to avoid postback occuring. when "Others" is been selected from the dropdownlist the textbox will be visible. Once the textbox is visible i want to set focus to the textbox where in i am not able to do as it comes inside update panel. can u plz help me ASAP...
Ashwini
|
|
|
|
|
|
no that doesn work when textbox is inside updatepanel
Ashwini
|
|
|
|
|
find the control (textBox) in the update panel and then set the focus for it
.....
|
|
|
|
|
How to find the control? plz help me ASAP
Ashwini
|
|
|
|
|
check this
http://www.odetocode.com/articles/116.aspx
|
|
|
|
|
hi friends
i have gridview in which i add new row button using add row button click
and i also fill that grid and then save the data into database
i m using update panel and script manager for ajax implemantation.i m also maintaining the session.
the addnew row is working but when i click on save the gridview rowcount become Zero..
and the data filled up is lost..
so what is the solution for that
plz tell me.
Thanks
|
|
|
|
|
When is the gridview populated, it could be because the click event affects the gridview and resets it therefore no rows are there
|
|
|
|
|
firsttime gridview is populated at page load then
when i add new rows that is working fine and i call my save data function at save button click
it is ok or not
thanks
|
|
|
|