« first day (250 days earlier)      last day (918 days later) » 
03:00 - 11:0011:00 - 18:00

3:34 AM
ahh still got issue with ajax modal pop up extender
works fine on Firefox , even IE
but when I debug on Chrome
it wont appear on top everything
I already use something like this : <asp:Panel ID="pnlpopup" runat="server" style="display:none;z-index:100000">
still wont work
 
3:47 AM
Morning Buddies
 
4:20 AM
morning
I have a mvc application with dynamic Menu and I want to highlight the selected menu, but in some cases i want to display the highest level child when the page do not have a menu list.
Facing problem when user open multiple tabs it selects the menu of last tab
 
Hi Morning to All
 
4:39 AM
Hello @VikasRana
Morning
 
morning all
 
I forgot my VPS IP address. How do i login?
:(
 
How to take GMT0 datetime in c#
 
DateTime.UtcNow
 
@shell this one i gave but it takes local time
sorry tnx its working
 
5:07 AM
@Shell have you worked with inbuilt login of asp.net web application template.
?
 
@yash o/
 
nop.. @VikasRana
 
@Justcode Hi
I think i resolved the problem
 
@yash ya tell me
 
Now checking with Android Device too...
 
5:09 AM
you always make login in your website of your own ? @Shell anyone else worked with default login of asp.net webpages @yash @ArijitMukherjee @Justcode
 
@Justcode did u worked with inbuild login of asp.net web page?
 
@Shell yes but failed
 
i Create My Own code always....@VikasRana
 
@VikasRana actually i never make login page in web form. coz im a windows form application developer
 
i use the default mostly
 
5:11 AM
@yash ya i also create my own code but i see the default login yesterday seem to be pretty good and good for productivity
 
@VikasRana When i create website than need to be with design too....Thats why i never used Default one
But Let me see that too....@VikasRana
 
@VikasRana if there is an issue with that than hacker can easily hack your website
 
@ArijitMukherjee you store login info in your database or .mdf file (which created by default if you register a user)
@Shell if hacker can hack microsoft code than how can you say they can't hack your code. I think if we modify this code then it will be more productive and safe
 
@VikasRana because they don't know the logic of ur code.. so, basically it will be different than MS.
 
@Shell if we modify ms code with our code than ?
 
5:17 AM
then there is no problem.
 
Hi how to get system datetime c#?
 
Interesting question!
 
@GaneshKumar which system?
@Justcode i am trying to make it more complecated... :P
 
local system @Shell
 
@Shell yah keep it up
 
5:19 AM
@Shell i used datetime.now but it taking server time
 
@GaneshKumar Ohh.. then it should be Client's System
 
@shell ya
 
then it is not possible with C#
 
client system is in india, server is USA, it taking the time as USA
 
becauase the code behind executed on server side
 
5:21 AM
ya
 
it cannot get the datetime of client pc
u have to use javascript
 
oh ok
 
after collecting the datetime from javascript function
then u can store it on hidden filed
 
Anyone in here pretty good at VB.NET syntax?
 
@GaneshKumar you can use this stackoverflow.com/questions/274826/…
 
5:23 AM
@RobertHarvey depends upon your query
 
fatch client timezone and get his datetime
 
Dim duplicateItemsList As New List(Of String)(rddsPathList.GroupBy(Function(x) x.Substring(x.LastIndexOf("\") + 1)).Where(Function(x) x.Count() > 1).[Select](Function(x) x.Key).ToList())
Error is " Lamba parameter 'x' hides a variable in an enclosing block"
 
@Shell tnx is there any way to addGMT time (like date.addhours(1))
@VikasRana tnx i refer it
 
@Shell Is it as simple as just changing the lambda variable x to something else, like y?
 
I think so,
let me check it
I think nested lambda does not supports same variable declaration @RobertHarvey
 
5:29 AM
Ah, so the inner lambda needs to be a different variable name.
Actually, three different names in total.
 
Ensure that all variables in your lambda expression have unique names that do not duplicate existing variable names in the same scope.
yup
 
Interesting. This works fine in C#. :)
 
Morning
 
@Shell Thanks!
 
5:30 AM
My My Mod in Our Group @RobertHarvey
 
welcome @RobertHarvey i really glad to help u
 
webservices fucked up :P
 
Is it possible that web service working on browser fine and not working on Android? @Justcode
 
@yash ya, same issues I'm resolving just now
 
possible @yash
 
5:31 AM
me too....i think problem is in android code....@Justcode @Shell
I am passing json output as string and its woring ine
 
ya may be
 
getting bad headache now
have to take medicine i think
 
@RobertHarvey is your intention to visit this room is inspection of this room ?
 
morning good people of the land of SO
 
@Gotalove morning
 
5:43 AM
very good morning to you Vikas and you need to join whatsapp buddy
@Shell new penguin :)
 
@Gotalove i'll be there in 2 3 days
:)
 
@Justcode you working on the timesheet today
awesome @VikasRana @Justcode will add you to group :)
 
@Gotalove ok :)
 
hi
@TheDictator @Justcode GM
 
@Jeb's hey buddy
 
5:49 AM
@Gotalove yeah seems like a pirate
 
awesome one @Shell
 
hehehe thanks @Gotalove
 
@Justcode @TheDictator i have one issue
 
yah @Jeb's
 
@Shell congrats man !! today you help Robert Harvey !! :)
 
5:51 AM
i have one listbox move record in one viestate grid view
 
@VikasRana yeah its really glad for me
 
but issu is grid record change position like 1 Test11 ,2 Test22 but i want to 1 Test22 ,2 Test11
so what can i do my Frdns @TheDictator @Justcode
 
just for solving an issue
 
yea man @Shell the guru
hi5
 
5:59 AM
hehe nice one @TheDictator
 
0
A: ASP.NET Retrieve single value from a cookie with multiple values

Vikas Ranatry this HttpCookie ck = Request.Cookies["your cookie name"]; if (ck != null ) { string cookie = ck.Values["your key name"]; } ck will store cookie info and if it is not null than it will store key value in string. you can access any key value by changing your key name

 
@Shell @all is it good idea to create table that allows nulls when the table info for all fields is needed?
 
@Gotalove i think it is okey to create table with such defination
 
@VikasRana but is is it a good idea?
say table holiday has id,name,date. id is not null and identity of course but what of the rest?
like you wouldnt want holiday table to insert empty records right
@VikasRana how did you manage to post only your answer link on chat I try but end up always posting the question itself
 
@Gotalove if you need all table values every time not null than forget allow null othervise it is okey. in your table id is your primary key and must be not null but if you want name to be not null than make this not null. while designing database don't think like programmer always think like database arc.
 
6:11 AM
yea am thinking in that sense.I think I can leave holiday name not null but date should never be null
@VikasRana thanks
 
@Gotalove oh.. don't know exact but when i opened this question it is focused on my answer i copy and paste the link see the last in address stackoverflow.com/questions/25636329/asp-net-retrieve-single-value-from-a-cookie‌​-with-multiple-values/25636752#25636329
 
@Gotalove holiday table?
should I paste it ? :D
 
@Justcode mine is as I have indicated though I found another from specific device with holidaystart and holiday end and name
which is better?
 
@Gotalove It should be one day at a time
 
6:14 AM
did it
 
like holidayon
 
thanks Vikas
@Justcode okay I think that is better approach too thanks
 
because approx 100 entries per year will not cost you too much / year
 
@Gotalove HI5
@Gotalove if the field is mandatory then avoid allow null
 
6:31 AM
we will have coding love now
in 1
tick tick 2
...........
.........
 
@VikasRana database
 
common......
 
@ArijitMukherjee how, make same table as in mdf or make custom tables ?
 
@Justcode Im waiting
 
@Shell me too its late now :P
 
6:33 AM
posted on September 03, 2014 by nlecointre

/* by vesper */

 
hurrree
enjoy :d
 
no Ef create the table if doesnot exist in the db
 
true @Justcode @Shell
 
@Feeds hhahahahahahhahahahaha
 
hehe awesome stunt
 
6:35 AM
you change connection string or ? @ArijitMukherjee
 
yes
connection string is req. to change
 
any other change @ArijitMukherjee you modify anything ?
 
nop not req.
 
@ArijitMukherjee thankyou very much, any link for authorization setting ?
 
@Feeds recently it happened with me :P
 
6:40 AM
authorization in mvc?
 
nop in webforms custom authrization allow roles to users @ArijitMukherjee
 
Its 12.13 I haven't code a single line :D
 
same here @Justcode
 
@ArijitMukherjee thanks for your help found it
 
@VikasRana
http://www.asp.net/web-forms/tutorials/security/roles/role-based-authorization-cs

http://www.asp.net/web-forms/tutorials/security/roles/creating-and-managing-roles-cs

http://www.asp.net/identity/overview/getting-started/adding-aspnet-identity-to-an-empty-or-existing-web-forms-project

http://www.asp.net/web-forms/tutorials/security/roles/role-based-authorization-cs
great
 
6:47 AM
@ArijitMukherjee thanks man :)
 
@ArijitMukherjee Nah, Now its 2 :D
 
0
Q: how to Update same member_id if Phone number and Country code exist in database

Anil public class RegistrationController : ApiController { public DefaultRespons GetRegister(int os_id, string device_id, int country_code, long mobile_no) { LociDataClassesDataContext dc = new LociDataClassesDataContext(); registration reg = new registrati...

any body plz
@ArijitMukherjee @VikasRana
 
@Anil is member_id is your primery key?
 
NO
id is Primary key
 
6:53 AM
@Anil dont just rendomely ping anyone.. If you have query then ask gently and if anyone knows the solution they will look after your query
 
Ok
 
@Anil write a repository method to check for existence of user mobile and return the id
 
@VikasRana
 
@Anil agreed with @ArijitMukherjee do the same
 
@VikasRana @ArijitMukherjee how can
where i wil Put that Condion to check
 
6:56 AM
@Anil put it where you need it !
 
public int GetUser(int countrycode, long mobileno)
{
}
 
we have to create one method for that
 
before you assigning values to registration
 
?
 
6:58 AM
ok wait
@ArijitMukherjee
 
@Anil an advise for you DON"T BAG FOR HELP. try yourself to make your skills better. these are general issues read some books to improve yourself.
 
@ArijitMukherjee then after
 
then if return id == 0 means its new user else u will get his id
 
ok wait
but there is One thing i have to make Only One api
@ArijitMukherjee
how to compare mobile number ,...
code
is exist in datbase
 
posted on September 03, 2014

New Cyanide and Happiness Comic.

 
7:06 AM
what?
 
@ArijitMukherjee he wants you to write code for him :)
 
lolz
posted answer
@anil
@VikasRana it happens sometimes its ok :)
 
@ArijitMukherjee ya :)
 
7:26 AM
Genrate crystal report in HINDI font
?
I can generate the report in ENGLISH font but i cant find any way to generate report in HINDI by using same English data.I want some hint!
 
try some translator after generator of report
 
plz help anybody
@ArijitMukherjee Without api
 
use resources but thats is very limited scope
 
@yogi970 what do u mean by generate report in hindi.. want to translate english text in hindi then display in report or just want to display text in hindi in report?
 
@ArijitMukherjee yup. my data is daynamic do i dont think that resource will be good option
@Shell in db data is in english
@Shell first i want o covert it in hindi then dispaly
if anybody have answer or any type of hint then stackoverflow.com/questions/25637135/…
 
7:32 AM
@yogi970 are u succeeded in translating text in english to gujarati?
 
@yogi970 why dont you send the report to word and then apply translation using word devnagri font
 
 
can we have different sessions/cookies for different tabs in a browser?
@shell thats cool
 
7:47 AM
@Shell very nice
 
psyked to code today!!good feeling yeeeah!!!
 
8:02 AM
hi anybody alive?
 
we are all alivE
!!live caprica
 
@Gotalove You do not have permission to use the command live
 
knew you were alive
 
anybody can help me with keeping session alive as well while refreshing a page :p
 
@ArijitMukherjee mvc or ?we had similar discussion yesterday
with@VikasRana and @Justcode
 
8:09 AM
yes?
 
huh
 
@Justcode failed hehehehe
 
aha
 
can you link me to that discussiopn might get some help
 
8:12 AM
@Shell nah, I succeed after
 
!!tell Gotalove eval "Why you have mentioned @Justcode?"
 
@Gotalove "Why you have mentioned @Justcode?"
 
!!echo @Gotalove "Why you have mentioned Justcode?"
 
@Gotalove "Why you have mentioned Justcode?"
 
8:13 AM
hehe I have alternate :/
 
@Gotalove no mine is different then
 
hahaha !!echo "Justcode you were there right?When Ron had problem or is it @Yash"
ooh
okay
shoot
 
@Gotalove nope I wasn't there.
 
my bad
 
@Gotalove what happened?
 
8:15 AM
Nope you're good :D
 
@ArijitMukherjee post problem @yash @ArijitMukherjee said-anybody can help me with keeping session alive as well while refreshing a page :p
mvc
 
Ive Dynamic Menu
In session im getting the selected tree level of the menu
when I open multiple tabs its works fine till i dont refresh the previous tabs
at that time the selected menu changes to the last opened tab selected menu
 
@ArijitMukherjee when you refresh does it lose the session?Or am getting thwe wrong idea?
 
yes the session values get empty
i mean null
i was thinkin on refresh if i can persist or send the present state or page details
 
but session should remain even if you refresh unless on page load you have an implemetation clearing the session @ArijitMukherjee
 
8:27 AM
its mvc
 
!!afk some work
 
posted on September 03, 2014 by nlecointre

/* by GargamelLeNoir */

 
@ArijitMukherjee session is same for webforms mvc php. Your Session_End event if fired when session gets null.
 
@VikasRana but does the session supports multiple tabs?
 
I think so @ArijitMukherjee
I think this will help you @ArijitMukherjee
12
Q: asp.net - session - multiple browser tabs - different sessions?

George W BushI'd like to maintain a session state per browser tab. Is this easy (or even possible) to do in ASP.NET? Example: A user hits Ctrl-T in firefox 5 times and visits the site in each tab. I'd like each tab to have its own session state on the server

 
8:37 AM
Is there anyone , who have worked in MOnodevelop?
 
@VikasRana +1
 
@Gotalove thanks !! :)
 
@VikasRana if I want to use datepicker do I have to add jquery.ui.datepicker.js or is it included in this library?
jquery-ui-1.8.24.min.js
 
@Gotalove you need two js
jquery-ui.js and jquery-1.8.2.js
 
@vikas I have come to notice that not all versions seem to support datepicker
 
8:44 AM
ya, you can give their referance without including them in website @Gotalove
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.11.1/jquery-ui.js"></script>
this will work
 
Is there somewhere I can determine which versions work coz my site might run only llocally @VikasRana
currently my project has jquery-ui-1.8.24.min.js and jquery-ui-1.9.1.js
 
@VikasRana sorry this jquery-ui-1.9.1.js isnt there this is jquery-1.9.1.js
 
feeeling owsome talking with my boss :/
 
@Justcode must have goten good review
 
8:51 AM
@Gotalove ya I some how agree him that I have worked something :D :D rofl
 
9:05 AM
@Gotalove you need ui.js
 
good for you
@VikasRana I need both to be same version 1.8 right
 
yes @Gotalove
i thnik so
but not sure
 
Rikshaw Alfaaz Yo Yo Honey Singh @VikasRana
Nice Song
 
@yash also listan Haye Mera Dil from same
 
ok let me listen....
I have listened it before...Honey singh's Rapng is Good in this song...@VikasRana
 
9:19 AM
have you listan Bohemia's Rap @yash
 
yup...he is also good
@VikasRana
 
@yash ya he is my fav rapper
 
also like Raftaaar...
 
haha raftar and Badshah the desi boys
 
yup...i like his Song with Deep Money.....Bottle
You Listened?
@VikasRana
 
9:23 AM
anyone can explain me owin n katana it will be great
 
yas @yash good song
 
Video is also Awesome....
@VikasRana
 
hi
all
 
yes, see video of sunny sunny by yoyo @yash
 
9:26 AM
i have seen it....nice one
@VikasRana
 
@yash now listning Pagli ladki by kumar vishwas
 
Yuk....
 
 
1 hour later…
10:35 AM
!!yawn
 
@Shell That didn't make much sense. Use the !!/help command to learn more.
 
!!I hate you
 
@Shell That didn't make much sense. Maybe you meant: t, d
 
What the fuck I have to explain everyfield to IOS developer :(
I'm bored from morning only explained him flow
 
Is there anyone who worked with Knockout js?
 
10:43 AM
@SivakumarPiratheeban Nope
 
@Justcode ur answer is much shorten than his name :P
 
@Shell haha
 
@SivakumarPiratheeban

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
 
@Justcode Thanks
 
10:49 AM
@Shell gyo tu :D :D
recycled
 
03:00 - 11:0011:00 - 18:00

« first day (250 days earlier)      last day (918 days later) »