sajanyamaha

1

votes
0

answer
94

views

single letter Top Level Domain TLD in email REGEX

I have gone through a lot of documents like RFC 822 and RFC 5322 and lot of Regex examples for email field. All of them allow the single word TLD.For eg [email protected] is valid ,but TLD 'c' ,is it even allowed for TLD's ? .com , .in , .uk etc is OK but I have never seen a single letter TLD , so why is...
sajanyamaha
1

votes
1

answer
658

views

Binding empty controls to gridview and retrieving their values

I binded a gridview using list private void BindEntirePropertyGrid() { List items = new List(); for (int i = 0; i < Convert.ToInt32(bedrooms.Text); i++) { items.Add(objRoomMaster); } ViewState['GridView1'] = items; GridView1.DataSource = items; GridView1.DataBind(); } Now i tried to retrieve the val...
sajanyamaha
1

votes
1

answer
270

views

div onmouseover loses when going over other divs inside main div

I have a li,some other elements like divs, inputs inside this li,and everything inside the gridview. I have a onmouseover='calcRoute();' on li. PROBLEM : I have noticed that on hovering on inside element divs and coming out of element divs to the parent div causes the calcRoute(); to execute again ,...
sajanyamaha
1

votes
1

answer
864

views

Mastercard Work around for third party cookies disabled users

I am using mastercard securecode and some of my customers are not able to complete the payments as they have there third party cookies disabled and they face this error message : An error has occurred processing your payment. Cookies are not turned on in your Browser To access the payment pages you...
sajanyamaha
1

votes
2

answer
40

views

Regex to reject if all numbers and reject colon

I am trying for a regex to reject if input is all numbers accept alpha-neumeric reject colon ':' I tried , ng-pattern='/[^0-9]/' and ng-pattern='/[^0-9] [^:]*$/' for example , 'Block1 Grand-street USA' must be accepted '111132322' must be rejected 'Block 1 grand : ' must be rejected
sajanyamaha
1

votes
1

answer
11.1k

views

Remove Gridview row in rowDataBound event asp.net c#

I have a gridview which checks some values on rowDataBound event.I want to remove some rows based on conditions checked in rowDataBound.I tried putting all controls in a Panel and hiding that panel ie, TRY 1 : protected void grdFeatured_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row...
sajanyamaha
2

votes
2

answer
41

views

Angular losing scope in ng-form template

I am trying this , Pay by sadad And , my template in another html file Here the vm.sadadPaymentForm.$invalid does not work but Indidual components validation works on blur on blur of input . BUT , if I add vm to ng-form ,ie like this Here the vm.sadadPaymentForm.$invalid works but Indidual component...
sajanyamaha
2

votes
2

answer
4.8k

views

goDaddy SMTP-Unable to read data from the transport connection: net_io_connectionclosed

I am trying to set up mail functionality using goDaddy smtp servers,Go daddy support is also not very useful here. I have tried these servers: relay-hosting.secureserver.net -Errors-Unable to connect\ smtpout.secureserver.net -Errors-Unable to read data from the transport connection: net_io_connecti...
sajanyamaha
2

votes
2

answer
1.6k

views

C# equivalent for PHP file_put_contents

I am converting a PHP file to C#,completed 75%,stuck with these lines if(file_put_contents($uploaddir.$randomName, $decodedData)) { //echo $randomName.':uploaded successfully'; //NO NEED TO CONVERT ECHO PART } PHP Brothers please help MORE INFO I converted this // Encode it correctly $encodedData =...
sajanyamaha
-2

votes
2

answer
6.2k

views

Set HTML <title> tag values dynamically

I have an HTML page. The aim is to set the tag dynamically. Using this Ajax call to get data to be inserted inside title tag as below $.get('/' + $.flydubai.config.CurrentLanguageCode + '/error/PageTitle/', function (data) { document.title = data; }); Now, I want to update not the browser title but...
sajanyamaha