|
GridView1.Rows[0].Cells[0].Text
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
Score it if you like my post
|
|
|
|
|
in the gridview i have applied paging. Now on PageIndexChanging i get the newpageindex .But i want to know the new page index on page load also . How can i get it .
|
|
|
|
|
Declare a variable on the page level and assign th current page index to it...
like
newindex =e.NewPageIndex;
deepak surana.
|
|
|
|
|
Dear All,
i am making web application using asp.net ,C# (Visual studio 2005).
i have dropdownlist with first listitem "Select one" and rest of the item comes form database I want to user should not select "Select one " option that is how can i validate dropdowmlist so that user should not select "Select one" Option.
please Provide me some idea.
Please help
thanks
regards
imran khan
|
|
|
|
|
OK there are many ways to do it
most of go with javascript
Write javascript code for that Check the dropdownlist selected index should not 0 if it then return false if not then return true very simple
<l>Thanks and Regards
Sandeep
|
|
|
|
|
Hi,
Just grab the onchange event of the dropdown in Javascript and validate. See the code below,
<br />
function validate()<br />
{<br />
var e = document.getElementById("myDropDown"); <br />
if (e.selectedIndex == 0)
{Alert('some msg');<br />
return false;<br />
} <br />
I assume 'Select One' is the first item on the drop down
Thanks,
Mubashir
Every job is a self portrait of the person who did it.
|
|
|
|
|
You can place a required filed validator.
and after binding the drop down list,
add the two lines:
DropDownList1.Items.Insert(0,"Select One");
DropDownList1.Items[0].Value = "";
If you fail for the first time , call it version 1.0.
|
|
|
|
|
I would like to fill the textbox "on the fly" while typing by suggesting "Like" words from SQL table in a div underneath.
Appreciate any help and thanks in advance...
|
|
|
|
|
|
This is exactly what i wanted.
Thanks alot and happy coding
|
|
|
|
|
You are welcome. all the best. Happy coding
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
|
|
|
|
|
Hi everyone
I have some audio and video files on my sever,
can any one help me how to play them on client machine .
Help me just for secure streaming
thanks
guru
|
|
|
|
|
|
Host the file and server and use embed to stream it.
|
|
|
|
|
According to the front end field right now it's too short.It shows just Name and Addres (example) if we like to add up more details of the front end.How should we design the programe? We need some help on this point. Thank you in advances.
|
|
|
|
|
HI
Unable to understand your requirements
<l>Thanks and Regards
Sandeep
|
|
|
|
|
Thank you for responsed.Sorry about my english.
I would like to design database and coding program example the right now the screen customer have field Name and Address (textbox for entry) but right now user request field Phone. I would like to add up field by user (user have back end screen (screen for setting) him can create field "Phone" by i don't modify program).Thank you in advances.
Tospon
|
|
|
|
|
OK
You said that you have database but the table must have column forr phone number You can do it many ways
Unable and disable the Phone text box or Make Visible property of the the placeholder false / true in which you phone text box or adding text box at run time but idea of place holder is better
OK how to do that Where are you making changes if user want to see that more controls on the UI (from Setting UI) check the status in the page load and do the stuff
<l>Thanks and Regards
Sandeep
|
|
|
|
|
Thank you for responsed.
But now field in table customer
CusID int (identity)
CusName varchar(100)
CusAddress Varchar(200)
I have idea. you can see http://www.zoho.com/crm press online demo press setup example header "Lead Einstellungen" press Felderliste. Right now you can add field by press "New custom field" .I would like to design and code program like that.Thank you.
|
|
|
|
|
Hi, I think thats possible. think broadly
You need to create every thing dynamically i.e
if some one wants to add new field you have to add that field in your database tables and also on form.
That would be like an IDE i.e like visual studio IDE kind of thing.
May be it clears your mind about this scenario.
Naveed Kamboh
|
|
|
|
|
Thank you in this idea i will try to do that.I begining to coding and my english is not folow you i can read (understand) but in create question or write i can do but not very well.Thank you again.
|
|
|
|
|
Myself require code for online payment application in
ASP.net 2.0
or, any application that contains online payment....
|
|
|
|
|
Chk it out.
Credit Card Payment Processing with ASP.NET
Actually, it's totally depend on the provider you are using. Suppose: If you are using Paypal then it would be the best if you check with Paypal support.. or. Try to use their API for online payment..
P.S: You need *NOT* to post same questions more than one time.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
You need a payment gateway setup for that.
|
|
|
|
|
Dear Friends,
I have to generates aspx pages dynamically and compile also using asp.net
1.1.The scenario is that using my application providing blog facility for
users.Creating the folder with usedrid and this folder should contain
dynamically generated aspx pages.For each users there would be seperate
folder and files.Kindly help me.
Thanks & Regards
Masoom Sabri
-- modified at 1:28 Wednesday 28th February, 2007
|
|
|
|