Click here to Skip to main content
15,886,067 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Integration Pin
Michael Sync15-Feb-07 19:58
Michael Sync15-Feb-07 19:58 
QuestionDate: Pin
SwaSubhaVijju15-Feb-07 16:46
SwaSubhaVijju15-Feb-07 16:46 
AnswerRe: Date: Pin
Christian Graus15-Feb-07 18:09
protectorChristian Graus15-Feb-07 18:09 
GeneralRe: Date: Pin
SwaSubhaVijju15-Feb-07 18:26
SwaSubhaVijju15-Feb-07 18:26 
Questionhow to execute a URL which has to be authenticated Pin
tilak.gummadi15-Feb-07 15:53
tilak.gummadi15-Feb-07 15:53 
QuestionIIS integrated windows authentication doesn't accept my userid and password Pin
red60mans15-Feb-07 13:46
red60mans15-Feb-07 13:46 
AnswerRe: IIS integrated windows authentication doesn't accept my userid and password Pin
kubben16-Feb-07 6:08
kubben16-Feb-07 6:08 
Questionupdate on button click along with validation Pin
srishree15-Feb-07 8:05
srishree15-Feb-07 8:05 
Hi,i had been working on a gridview which has textbox and button controls in the itemtemplate fields and few bound fields.my question is that i need to validate the number entered manually in the textbox is a valid entry or not on the button click attribute of the gridview row.if valid i need to update the data entered in the textbox with the existing value in the database......i wrote a javascript to validate tht the entry is valid,but this checks only for the first row of gridview and fails for all other rows........here is my javascript.....

function fn_check(which)
{
var element_length = which.length;
alert(which.gv1$ctl02$TextBox5.name);

for (i=0;i<element_length;i++)
="" {
="" var="" tempobj3="which.elements[i];
" if="" (right(tempobj3.name,8)="=" "textbox5"="" )
="" if((tempobj3.value.length="=" 11)="" )="" {="" make="" sure="" it's="" a="" valid="" length
="" segments="tempobj3.value.split("-")
" ((segments.length="=" 3))="" ((segments[0].length="=" 3)="" &&="" (segments[1].length="=" 2)="" (segments[2].length="=" 4))="" for="" (var="" i="0;" <="" 3;="" i++)="" (isnan(segments[i]))="" check="" to="" see="" the="" number="" is="" number
="" alert("ssn="" has="" be="" numbers="" separated="" by="" '-'="" character");
="" return="" false;
="" }="" }
="" true;
="" else
="" needs="" in="" format="" xxx-xx-xxxx");
="" else="" have="" length="" of="" 11="" (xxx-xx-xxxx).");
="" true;
}

to="" my="" knowledge="" what="" noticed="" that="" textbox="" name="" and="" id="" are="" varying="" dynamically="" they="" r="" not="" constant="" so="" we="" can="" call="" them.......it="" something="" like="" this......gv1$ctl02$textbox5.......and="" value="" tht="" constantly="" changing="" ctl102...ctl103....ctl104.....for="" corresponding="" values="" textboxs="" present="" different="" rows="" gridview...

="" foreach="" (gridviewrow="" grow="" gv1.rows)
="" txt1="new" textbox();
="" how="" declared="" control="" access="" code="" behind......

so="" there="" way="" which="" validate="" it="" then="" update="" with="" new="" database......any="" help="" would="" greatly="" appreciated.....

thanks="" advance......

sri=""

<div="" class="ForumSig">hi
QuestionChaning Culture from UserControl Pin
Taurian11015-Feb-07 7:54
Taurian11015-Feb-07 7:54 
AnswerRe: Chaning Culture from UserControl Pin
Renuka Verma3-Oct-09 7:40
Renuka Verma3-Oct-09 7:40 
QuestionSections in a datagrid! Pin
Deepasubramanian15-Feb-07 7:24
Deepasubramanian15-Feb-07 7:24 
QuestionIssue on DataGrid! Pin
Deepasubramanian15-Feb-07 7:21
Deepasubramanian15-Feb-07 7:21 
AnswerRe: Issue on DataGrid! Pin
N a v a n e e t h15-Feb-07 18:48
N a v a n e e t h15-Feb-07 18:48 
GeneralRe: Issue on DataGrid! Pin
Deepasubramanian15-Feb-07 18:56
Deepasubramanian15-Feb-07 18:56 
Questioncopying projects [modified] Pin
TheEagle15-Feb-07 6:43
TheEagle15-Feb-07 6:43 
QuestionIE window resize on Page.Load event Pin
Jaguas15-Feb-07 6:38
Jaguas15-Feb-07 6:38 
AnswerRe: IE window resize on Page.Load event Pin
Guffa15-Feb-07 9:38
Guffa15-Feb-07 9:38 
QuestionC# & DataBinder.Eval Pin
digsy_15-Feb-07 6:03
digsy_15-Feb-07 6:03 
AnswerRe: C# & DataBinder.Eval Pin
DavidNohejl15-Feb-07 9:17
DavidNohejl15-Feb-07 9:17 
QuestionHow do I set a Dropdown list item Programatically? Pin
Quecumber25615-Feb-07 6:01
Quecumber25615-Feb-07 6:01 
AnswerRe: How do I set a Dropdown list item Programatically? Pin
-Dr_X-15-Feb-07 9:35
-Dr_X-15-Feb-07 9:35 
QuestionGridView and ajax postback Pin
tmiku15-Feb-07 4:48
tmiku15-Feb-07 4:48 
QuestionImage title attribute as ToolTip!?!? Pin
badgrs15-Feb-07 3:53
badgrs15-Feb-07 3:53 
QuestionServer Error Pin
Sarfaraj Ahmed15-Feb-07 3:30
Sarfaraj Ahmed15-Feb-07 3:30 
AnswerRe: Server Error Pin
Not Active15-Feb-07 4:19
mentorNot Active15-Feb-07 4:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.