im trying to figure out how to authorize only unauthenticated users. i have a sign in tab displayed in my site map and i only want it to show up when the user hasnt yet logged in.
I want to know how to raise an event for fileupload control....
In my project, as soon as I select a file(Image) it should show FILENAME,EXTENSION & SIZE in the labels given below.
Pls reply me....
Thanks in advance.
I'm testing an intranet web app in the iPad but the animations to open "windows" and show message boxes are horribly slow.
I've tried setting the global Ext.enableFx to false, and confirmed that flag is still false after page load in Firebug. The animations are still occurring though so I must be doing something wrong.
Thanks...
Is there some cool Moria like theme for Visual Studio 2010?
Mine is highlighting gray font with gray background!
I just can't configure it on Tools-Options-Environment-Fonts and Colors menu. Visual Studio doesn't seem to show an item for this "highlighting keyword/tag system". You select a variable on variable called myVar, and it highlights all with the same name but with a grayer color and gray background. I just can't read it and can't set it.
Not sure about you guys, but I detest working in CSS. Not that it is a bad language/markup, don't get me wrong. I just hate spending hours figuring out how to get 5 pixels to show on every browser, and getting fonts to look like a PSD counterpart.
So a question (or two) for programmers out there. How much time (%) do you spend on web markup? Do you tend to do this type of tweaking, or do your designers?
Hi,
I need to have yes No Cancel confirmation window in my silverlight app.
I am trying to use child window for this purpose.
But this.Show(); doesn't wait till the user gives his input.
Any help ?
Thanks
PS: i m new to silverlight
I'm not sure if it's just me, but whenever I open .txt files in internet explorer, it always parses the HTML, so forms, buttons, fields all show up. It does this on multiple computers, and I'm fairly sure it hasn't always done this. I know FireFox doesn't, FireFox loads it as a text file. Does anyone else have this problem? If so, have you solved it? If so again, how?
Hi
I have one sharepoint application, in this i have to show the current user, i used SPContext.Current.Web.CurrentUser.LoginName. then it returns XXXXXX\abida. But i want only the username like abida. How to achieve this requirement?
Hi,
I'm stepping through code using Eclipse PDT. When I mouseover an array it says e.g. "$_SESSION = Array [0]", but won't show me the data.
This is fine for local varaibles as I can see them in the "Variables" window, but it means that I can't see the contents of $_GET, $_POST, $_SESSION.
How do I fix this?
Python
params = urllib.parse.urlencode({'spam': '1', 'eggs': '2', 'bacon': '3'})
binary_data = params.encode('utf-8')
reg = urllib.request.Request("http://www.abc.com/abc/smart/ap/request/",binary_data)
reg.add_header('Content-Type','application/x-www-form-urlencoded')
f = urllib.request.urlopen(reg)
print(f.read())
PHP
if($_SERVER['REQUEST_METHOD'] == 'POST') {
//parse_str($_SERVER['QUERY_STRING']);
var_dump($_SERVER['QUERY_STRING']);
}
When i try print binary_data , it does show the parameter but by the time it reaches the PHP , i see nothing.
Any idea?
$(document).ready(function(){
$('img').click(function(){
var class = $("img").attr("class");
console.log(class);
});
});
Back with another question. I have 3 images each with a different class (image1, image2, image3). If i run the code above the log will only show the class of the first image no matter what image I click on
The problem in this code is that when it's run and I push "Yes" button, This is shown:
This means that my application stopped working, I just want it to end.
private void App_DispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e)
{
string message = "An unhandled exception has ocurred, do you want close the app?";
MessageBoxResult currentMB = MessageBox.Show(message, "SomeTitleApp", MessageBoxButton.YesNo, MessageBoxImage.Exclamation);
if (currentMB == MessageBoxResult.Yes)
{ Application.Current.Shutdown(); }
else
{ e.Handled = true; }
}
Hi I'm working with a project (asp.net mvc) where I need to show pictures on one site. They gone have jquery and be surrounded by a div like <div><img/></div>
I'm relatively new on MVC so I'm not sure what ways are the best to work in it yet. Should I do a ImageHelper so i can access it like <% Html.ImageJquery() %> or should i just do it plain in the view
what are your thoughts on this?
What technology is used for live streaming of video from iPhone cam to a distant server.
I want to show live streaming as well as save the video, once it gets finished.
Hi I was wondering if someone could help me with this problem.
Thanks!!
Show how to use a stack S and a queue Q to generate all possible subsets of a set nonrecursively.
Following this tutorial getting the following errors:
NameError in Admin/dashboardsController#show
uninitialized constant Admin::DashboardsController
NameError in Admin sessionController#new
uninitialized constant Admin::AdminHelper
not sure how to correct this!
as topic, I am strange that why does the SDK not provide API to show the UIFont picker ? like the date Picker......
or maybe some open source code is available now ?
Thanks for your help !
Regards
Hi There,
let me rewrite my question, I have a Ajax Accordion in my web site, Users can add images, in Accordion,I keep the thumbnail and fullsize image's path in Sql Server table, Users can see the thumbnail, and when they click the thumbnail, I use a ModalPopupExtender that open an asp panel to show the full size image, with progress image or preload bar
What is the best way to achieve this?
Thanks in advance
How can I accomplish the following:
When my app loads a UIView will show 4 buttons
Clicking on a button will load a UITabBarController (not a UIView with a UITabBar) that can display multiple views.
This seems challenging to me, because in order for me to use the UITabBarController I need to add this to the window's subview in my appDelegate. By doing so, my app automatically will load with the UITabbarController in the root view.
Hi,
Can any 1 please tell or show the difference in the behaviour of any program before and after I "set endian little" in gdb on solaris machine?
I want to know the effect of changing it.
Thanks!
Using the Twitter REST API Method: favorites for a user, this returns a list of statuses of each favourite. Is there a way to get the favourite count other than calling users/show, and accessing the property this way? Seems an ineffecient way of determining if there are more than 20 favourites for paging purposes.
Hi, I've been trying to make a button toggle a class, as well as show another div below it.
Here is a jsFiddle example I have made for you.
The first function works perfectly, shows and hides the div, but also I want the button itself to add and remove a class, I thought this would work but I seem to be doing something wrong.
Thanks.
a=[1,2,3,4]
b=a.index(6)
del a[b]
print a
it show error:
Traceback (most recent call last):
File "D:\zjm_code\a.py", line 6, in <module>
b=a.index(6)
ValueError: list.index(x): x not in list
so i have to do this :
a=[1,2,3,4]
try:
b=a.index(6)
del a[b]
except:
pass
print a
but this is not simple,has any simply way ?
thanks
I tried this one and it generates a textview window:
http://zetcode.com/tutorials/gtktutorial/gtktextview/
But I don't want it to be editable.
BTW,how can I show the scroll bar when the text overflows?