|
I have the need to use column span. So to best explain this create a gridview with 4 rows and 10 columns/cells at 1PX for the width. The reason for the width to be small is I want to represent a 10 minute time. So eventually I will have 144 of these little cells. But for the test just create 10.
So now try and do a columnspan at cell 4 that says cell 4. When you run the program it makes the cells width bigger for some reason.. I hope someone can help me out a little. I can't get it fixed.
Thanks in advanced.
|
|
|
|
|
You can achieve this by writing your code in OnRowDataBound
e.Row.Cells[cellIndex].ColumnSpan = your value;
Even if you can achieve this, i would recommend to consider other approach. Using colspan and count of column to represent time is not a convincing approach.
Consider setting width of span or div for such cases. JQuery will make your job a lot easier.
|
|
|
|
|
Hii I want to make one application which should be access online in macbook and offline on desktop and when offline database should be updated when it get online. so i m confused in which technology i should make my software. Please help me out.
|
|
|
|
|
What do you mean by online in MacBook and offline in desktop?
there are 2 kinda apps: Desktop apps and Web apps...
Both are pretty different..
Can you first decide what kinda app you wana do?
|
|
|
|
|
Dear All,
[webapplication]
I want to develop a functionality which captures only a selection area in a webpage.
and save the selection area as a image to a location or copy it to clipboard.
i.e want to store the selected area while capturing it and storing it to the database.
and then display that image in the webpage in the next step immediatly.
i.e the functionality will be similar to the snippy tool or fireshot tool where we capture only a section of webpage .
Have searched a lot , but could only find windows application.
kindly guide if any solution.
technology:[asp.net,c#]
Thanks in advance.
|
|
|
|
|
There are plug-ins that perform captures like that,
Do you want to develop a new browser plug-in that does that?
It does not sound like it has anything to do with C# unless you want to work with a window application that manipulates a webbrowser control...
It is a paradox that paradoxes would actually exist in reality.
That means of course that they don't exist.
However, they do!
∫(Edo )dx = Tzumer
∑k( this.Kid) k = this. ♥
|
|
|
|
|
We will have a grid displaying a list of pdf in one section and below that displaying the pdf selected in a webpage.
we want to capture/clip only a section of the pdf by selecting a particluar area in the pdf and displaying the selected area on right side as a image and then save the image captured/clipped to DB(sqlserver).
Kindly let me know if you can refer any existing plugin which we can use or develop/intergrate any plugin developed (jquery) or any other solution .
Regards,
Sriharsha
|
|
|
|
|
Capturing selected area into an image and inserting an image to the DB are two completely different operations.
Here is a plug in [^]for capturing selected area for Chrome, but there a lot more and there are plenty for other browsers as well.
I can suggest you create a small application that uploads the image and saves into the DB, there are many examples (click for one) [^]for that in CP or the web.
It is a paradox that paradoxes would actually exist in reality.
That means of course that they don't exist.
However, they do!
∫(Edo )dx = Tzumer
∑k( this.Kid) k = this. ♥
|
|
|
|
|
a)i tried your solution .
but the problem is we cannot integrate it to our application.
As it saves the image captured in the local file and some manual process will be necessary for it then and then it acts as a external plugin.
Is there a way where we can develop a new functionality to capture the section from pdf and add it to our application.
b)actaully i have developed a fucntionality which selects a area using jquery , but it does not work on a pdf inside a iframe , but works fine same for html files inside iframe.
i.e for pdf files.
any clue .
|
|
|
|
|
Why do you mind raising a separate process that performs the upload to the DB after you capture the image?
It is a paradox that paradoxes would actually exist in reality.
That means of course that they don't exist.
However, they do!
∫(Edo )dx = Tzumer
∑k( this.Kid) k = this. ♥
|
|
|
|
|
We have a VB 2010 ASPX program with a GridView that needs to support sortable columns.
There is no database.
Is there a way to just sort the entire grid based on 1 column without redoing the entire grid?
Do we have to use a DataTable as sort that?
|
|
|
|
|
How do you bind/add values to your gridview?
|
|
|
|
|
My guess is you can create a datatable hard coded out of the data you do have and then sort on that.
You also could use generics and inherit icomparable and then use the sort method in that custom data class.
My suggestion would be datatable will be easier..
And then run .sort on it.
=)
|
|
|
|
|
how to implement azure with .net
modified 17-Aug-13 17:10pm.
|
|
|
|
|
|
|
add below code in .aspx
<div>
UserName:
<asp:TextBox ID="txtUserName" runat="server">
</asp:TextBox>
Password:
<asp:TextBox ID="txtPassword" runat="server">
</asp:TextBox>
<asp:Button ID="login" OnClick="login_Click" Text="Login" runat="server" />
</div>
add below code in .code behind
protected void login_Click(object sender, EventArgs e)
{
Ektron.Cms.UserAPI userApi = new Ektron.Cms.UserAPI();
if (!String.IsNullOrEmpty(txtUserName.Text) && !String.IsNullOrEmpty(txtPassword.Text))
{
UserData userInfo = userApi.logInUser(txtUserName.Text, txtPassword.Text, "");
if (userInfo.Id > 0)
{
userApi.SetAuthenticationCookie(userInfo);
Response.Redirect("/Cmslogin.aspx");
}
}
}
|
|
|
|
|
|
the voice is not that clear ...try to post here...
|
|
|
|
|
|
did you figure out the code
|
|
|
|
|
String CLIENT_ID = "738844443590.apps.googleusercontent.com";
String CLIENT_SECRET = "53phjcJplNe1PLY-7rYNnmT9";
// Register the authenticator and create the service
var provider = new NativeApplicationClient(GoogleAuthenticationServer.Description, CLIENT_ID, CLIENT_SECRET);
Console.ReadLine();
//following giving error
var auth = new
OAuth2Authenticator<NativeApplicationClient> (provider, GetAuthorization);
|
|
|
|
|
What's your question?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
See Working with Google Drive in WPF[^]
It is a paradox that paradoxes would actually exist in reality.
That means of course that they don't exist.
However, they do!
∫(Edo )dx = Tzumer
∑k( this.Kid) k = this. ♥
|
|
|
|
|
I hope that's not your real client ID and secret key?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|