I have a ListView whose size is fixed to maximum of 10 items
View Property is set to List and scroll is disabled
I want to get row headers numbered from 1 to 10
How do I get that??
I have a grid-view having details of customers,now I want to print cheques for all customers of the grid with single click of button instead of clicking individual print button for each and every customer.I want to implement this in asp.net MVC 1.0.Please temme hw should i proceed for this..Is iTextSharp will do any help to me or there is any other such pdf libraries which will help me to accomplish my task.
I have a model like this:
class MyModel(models.Model):
REGULAR = 1
PREMIUM = 2
STATUS_CHOICES = ((REGULAR, "regular"), (PREMIUM, "premium"))
name = models.CharField(max_length=30)
status = models.IntegerField(choices = STATUS_CHOICES, default = REGULAR)
class MyForm(forms.ModelForm):
class Meta:
model = models.MyModel
In a view I initialize one field and try to make it non-editable:
myform = MyForm(initial = {'status': requested_status})
myform.fields['status'].editable = False
But the user can still change that field.
What's the real way to accomplish what I'm after?
I was attempting to install an exe that requires a serial number before the install, which the vendor has not provided to us yet.
This got my wheels turning about whether there is any information that can be gained from viewing an exe using a hex editor/VI/etc?
Using VI to view an exe, I can see some sections of plain text, but it is difficult to determine what it refers to without any context around it.
Is it possible to determine any information by reading an exe?
Thanks
select
(Case Remark01
When 'l1' then type1
when 'l2' then type2
end) AS [?] --Remark .....want to switch name in here
from mytable
Example ....
select
(Case level
When 'l1' then type1 ('l1' mean check constant string)
when 'l2' then type2(('l2' mean check constant string))
end) AS (Case when 'l1' then [type01] Else [type02])
from mytable
select level,type1,type2 from mytable
I using two program this mytable
one program is want to show menu only type1 only
one program is want to show menu only type2 only
I using one view using two program..
I am trying to download a data file from a local network share to an iPhone device. I have placed the file on a computer on the network and can view through browsers such as Chrome or Mozilla, from any computer on the local network.
However, Safari on a Mac and the iPhone do not find the file! An example of the URL I use is 'file://computer/SharedDocs/file.csv'.
Why do Safari and the iPhone fail to find the file?
I have an ASP.NET Dynamic Data web application, with an entity called ActivationResource. One of the properties of this is a CellPhone field. Now, whenever I open a List or Details view of one of these entities, the cell phone number displays for a moment then disappears.
Anyone have any ideas as to the cause of this mysterious behavior?
Hi,
I have a Core Data Entity which has three properties startDate, endDate and duration. All three properties are persistent properties. I would like to know how I can calculate and update the duration property whenever the value for startDate and endDate changes?
BTW, I won't be able to make the duration as transient property since I have to use the property for sorting in my table view?
Any help is greatly appreciated
Thanks,
Javid
there!
I have this question, hope you guys can help me out.
So i have this table with two fields:
type and authorization
in type i have 2 different values: Raid and Hold
in authorization i have 2 different values: Accepted or Denied
I need to make a view that returns values like this:
TYPE:RAID ACCEPTED:5 DENIED:7
Basically i need to know how many of the values in TYPE are Raid, and then how many of
them are Accepted and Denied.
Thank you in advance!!
Hi,
Another SharePoint question from myself!
I've created a subsite and from within Sharepoint designer I've created a new aspx page, all nice and simple so far. I can't seem to find where I can change the security on this new page, only site admins can view the page and everyone else gets access denied.
It doesn't seem to inherit the permissions from the parent and I can't see where to change the security settings!
Please help, I'm sure it's something simple!
Thanks
Dan
Hi All,
if (e.Row.RowType == DataControlRowType.Header)
{
int i = 0;
foreach (TableCell cell in e.Row.Cells)
{
cell.Attributes.Add("title", reason[i]);
i++;
}
}
i am using this code to show tool tip in grid view.Tool tip is getting displayed when the page loads but after a click event the tool tip is not working.
Hi I am Trying to use trace viewer
by
Debug.startMethodTracing("sampletrace");
Debug.stopMethodTracing();
And I pull the sampletrace to a folder from sdcard.
When I try view the tracefile using the following command.
D:\Android\android-sdk-windows\toolstraceview D:\trace\sampletrace.trace
it is showing the following line
Key section does not have an *end marker
Can anybody please explain what is this?
I want to modify an internal webpage to strip away some of the onclick behavior of certain links.
The internal webpage has a bunch of links like:
<a href="/slm/detail/ar/3116370" onclick="rallyPorthole.showDetail('/ar/view.sp','3116370','pj/b');return false;">foo de fa fa</a>
How can I do an extension to Chrome so it does the following:
for link in all_links:
if link's href attribute matches '/slm/detail/ar/...':
remove the onclick attribute
Hi,
I am using a website which contains a gridview for view details of Product details... It contains columns like name,area,phnoe no,quantity,price,total.... now i want to calculate toatal value for that i hav to multiply the columns quantity and Price and also put that answer to total column in grid... How Shall i do this?
Any one tell me the solution of this!
Thanks in advance...
Hi guys,
I'm just writing an App for displaying the route between two coords (lat, long) in google maps view.
Displaying an single coord (even with a marker) works fine, but how to do this with 2 ones and the route between them?
I must admit that I'm quite new to Android and the maps-API...
HI everyone,
I was asked to develop a complaint/suggestion management system, I was wondering if anybody has an idea about what features should be there, if there is an already made system that i can view its documentation to help that will be great
Thanks
Apple, for memory management issues, recommend defining outlets on properties, not in the attribute declaration. But, as far as I know, declaring properties exposes the class to external classes, so this could be dangerous.
On UIViewController we have the main view definition and the logic, so MVC is slightly cheated in this cases.
What is the beteer approach, Apples's recommendation for memory-management or armored classes?
Hello,
I am updating some super legacy code and I am unsure how to make this HTML5 compatible.
<option value='<a href='http://localhost:8080/dm?id=%%SUBSCRIBER_ID_TAG%%'>View in a browser window</a>'>Display Message(HTML Version)</option>
I personally have never run across something like that so any help would be great.
We're trailing the use of the built in bug tracking, and have written some integration into our helpdesk software that allows for escalation via workitems.
One thing I haven't found out how to do, is to merge all changes associated with a work item (say to go from dev branch to main) - I appreciate you can double click on a changeset in the merge dialog to view if it is associated with a workitem, and also that I can select individual changesets, and groups of adjacent changesets; but there doesn't appear to be any way to merge changes by workitem?
How to adjust height of textview programetically as we are typing the text
textview should increase upwards with no limit.UIScrollview for textview is disable in our case.We are giving scroll for entire view to see upward contents in textview
I noticed that when doing code view, people here in my company usually just give the branch in which his work is done, and nothing else. So I guess there must be a easy way to find out all the files that has a version in the given branch which is the same thing to find all the files
that has been the changed.
Yes, I don't know the expected "easy way" to find files in certain branch, so need your help and thanks in advance.
I am trying to make a racing game with an overhead view looking down. There will be a separate mc for the ground and another separate mc for the players car. How can I do this? O ya and just in case i am thinking the way I did:
I tried to "rotate" the ground but when the car moves down the ground it moves away from the registration point, so therefore it rotates non relative to the car i want to make this game in as3.
Hello, I have a problem...
In my view i have Textfield.If i move that TextField it should open iphone keyboard occupies.Extra TextFields doesn't display
Please help in this issue.