|
Hi,
How to change the visiblity of a frame from a page in another frame?
Thankyou
Yesuprakash
|
|
|
|
|
Hi,
I have the following FilteredTextBoxExtender on a textbox.
<cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" TargetControlID="txt_VisitorName" ValidChars=" " FilterType="Custom,UppercaseLetters, LowercaseLetters"
Enabled="True">
</cc1:FilteredTextBoxExtender>
when i select a row in the list view it will fill load data to the textboxes the FilteredTextBoxExtender is clearing the spaces in the textbox,i specified space as the valid character, but its not firing
can any body help me regarding this.
Thanks&Regards
DEEP
hi
|
|
|
|
|
Hi,
I am in the early stages of designing/developing an ASP.NET 3.5 web application with an SQL Server 2008 database. The following is the way i am thinking of approaching the design for this particular area but i am keen to know any cleverer, more efficent ways of doing this:
My application will contain a number of user accounts. Each user will have a field associated with it in the database called "League". The "League" database field will contain a limited but indefinite number of unique identifers for each league the user is in. Each unique identifier in the league column will be seperated by the character ; which will allow me to parse through and obtain each users leagues as needed
Once again i dont think this is the best approach to this and i would be keen for anyone with any suggestions which utilize any .Net technology in a clever and efficent way.
I really appreciate any tips and suggestions that anybody may have!
Thank you
Regards,
Jon
|
|
|
|
|
It is not a good approach. Create another table and store the league details for each user. That is, this table will have a row for each league pertaining to a user. user id will be the foreign key for user and league tables.
|
|
|
|
|
|
Yes.. I do agree with dotnet buddy. This is not any typical ASP.NET issue. This is mainly I think a database design related issue. Per your details, it means you have users who are associated with different leagues. Each league is identified by an identifier. It's a one-to-many relationship.
So you should be having two tables - User and UserLeague. Both of them should be linked with UserId which is a primary key in User table and a foreign key in UserLeague table. In the UserLeague table you can have LeagueId column (your identifier for League). So you can have multiple rows for same userId in UserLeague table.
Let me know if this helps or not.
|
|
|
|
|
Hi Arindam, This is the exact approach i have taken. Really appreciate the help!
Thanks,
Jon
|
|
|
|
|
Good Day Jon
If you ever come across a Database table has something like
User Password
===========================
VuyiswaMaseko Tsfkldfk
This means a Bad decision has been done while desgining this database. The Table is not even in the First normal Form. You can have a datbase designed and concatename this that should have been separated. If you try to add .net languages to do a dirty job for you, you will have a very complecated system that is difficult to debug and work with.
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.somee.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
|
rj shukla wrote: image upload on web in c#
So, do you expect some one will do the Google search for you ?
Have a look,
upload image in asp.net[^]
|
|
|
|
|
what you actually need?
Sabari MD
Application Developer
Veloxit Info Solutions
|
|
|
|
|
Its very rude to delete your messages with out any reason while some one answering your query !
|
|
|
|
|
I am having 3 text boxes and a total label.total is calculating from the values of
the textboxes.i am validating textboxes for only entering decimal values.but
when i am entering values starting with decimal (".") the total is changing to
NaN error (javascript - Not a Number error)..how to fix it?? other decimal values
are working fine..only decimal starting with "." is giving error..any solution?
Thanks in advance.
"try try and try!!"
|
|
|
|
|
dont start with a decimal (.45 , I think you suppose to do like this) but for javascript it is not a number place it as (0.45) and try.Validate that textbox for a nmuiric value so that it wont happen in future
Sabari MD
Application Developer
Veloxit Info Solutions
|
|
|
|
|
hiii
I have a checkboxlist control where we can select multiple items.I want to submit the items of this control to database when they are checked.Can you giv me idea that how cud i perform this task.
thnk's
regard's
pm
|
|
|
|
|
|
for (int i=0; i<checkboxlist1.Items.Count; i++)
{
if (checkboxlist1.Items[i].Selected)
{
checkboxlist1.Items[i].Text
}
}
u will get each item selected
|
|
|
|
|
Hello,
I put an ImageButton field on my GridView.I want this:
when I clicked on the ImageButton,
value of that row's ID field must returned that is selected with ImageButton . (I know my english is awful )
ImageButton code:
<ItemTemplate>
<asp:ImageButton runat="server" id="IMG1" ImageUrl='My URL' />
</ItemTemplate>
Thnaks in advance
|
|
|
|
|
Try to trap Index from RowCommand event of GridView
|
|
|
|
|
What do I write in RowCommand event ?
|
|
|
|
|
|
You can code like this inside Row_Command event
int row_index = int.parse(e.CommandArgument.ToString())
Now row_index will have row index (which row's button u have clicked)
Now u can access any value
string abc = grd1.rows[row_index].cells[2].text.tostring()
By:
Hemant Thaker
|
|
|
|
|
CommandArgument=<%#Container.DisplayIndex + 1 %>
give this in image button and get the
index by using this
int.Parse(e.CommandArgument.ToString())
|
|
|
|
|
Hi...
I m using master page for my website(asp.net/C# 2.0) and have put adrotator control.
I am using Ajax Update Panel and put adrotator and timer control under it, alogwith scriptmanager.
I am displaying GIF images through xml file into rotator.
Now once the first page of the website is loaded everything works fine, but once i redirected to different pate what i see is page is automatically posting back though i have put rotator in update panel.
(i have put scriptmanager in master page only)
Please guide me to execute AdRotator for smoothly running...
thanks
By:
Hemant Thaker
|
|
|
|
|
Hi all,
I have been searching for Ajax implementation in ASP .net,
I want to call a server side method from Javascript, but I am not able to find an example of that.
I don't want to use a webservice or webmethod.
Please provide with some links where i can get a proper implementaion of AJAX in ASP .Net.
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|