
Search In
In the below example I have describes "how to use FlexBox layout". FlexboxLayout extends the ViewGroup like relative layout and linear layout. You can add different attributes to the flexlayout like flexDirection, flexWrap, justifyCon
Hello Reader's if you are making the file upload in html form, Then you can also show the status of the file to upload.
Lets see the example code as below:-
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href=
To create writer function in openerp you have to override the create and write methods, as show in example below.
Example:- use this code to write and override function in openerp
def write(self, cr, uid, ids, values, context = None):
res = supe
Hi guys,
How to allow copy content option for a secured PDF. Currently am using Spire.PDF library, it is giving result as I except, it is a free version – supports only for below 10 page PDFs, but my pdfs have more than 200 pages. Any other solutions
Opening a .pdf file in new window
On the First page write the following code:-
string Url = "Wite the url of the page to be opened";
ClientScript.RegisterStartupScript(this.GetType(), "", "window.open('" + Url + "');", true);
On the second page
Hello all,
working with richtext editor at time we have to wrap any content with para tag.
To do that we have following code packet.
in HTML we have:
<div>
<ul>
<li><input type="submit" onclick="wrapWithP" /></li&g
Hello all
To calculate characters inside HTML Editor we can use following block of code:
In HTML side we have :
<div id="editorDiv" contenteditable="true" onkeydown="calculateChar()">
</div>
In JavaScript we have :
function calculat
Hello Reader's if you want to change css of any div or section or iframe with just a single click then javascript offers you to do this in real time.
Lets see how to change background color of an ifram using just a single click
<iframe src="JavaS
If you want to change the enter key to search key, here is the code to get the same:-
Step 1:- In your xml file add the following EditText
<EditText
android:id="@+id/ed_search_key"
android:layout_width="wrap
Hello all,
working with HTML Editor, i came across to situation where we getting a horizontal scroll bar when we enter data in the numbered list line having width higher than the Editable Div.
To solve this issue we have this block of code.
On key
